projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
633cb7e
)
Forced be to show minimum 3 digits, because 3 is common.
author
Aaron Bentley
<abentley@panoramicfeedback.com>
Tue, 17 May 2005 14:36:31 +0000
(14:36 +0000)
committer
Aaron Bentley
<abentley@panoramicfeedback.com>
Tue, 17 May 2005 14:36:31 +0000
(14:36 +0000)
libbe/cmdutil.py
patch
|
blob
|
history
diff --git
a/libbe/cmdutil.py
b/libbe/cmdutil.py
index 8268a1d16c2cd3bd665cd5bb0ff48f676dc1253e..24eab64dcf7e152a77dec499b7eeddaf82edf0fc 100644
(file)
--- a/
libbe/cmdutil.py
+++ b/
libbe/cmdutil.py
@@
-27,6
+27,8
@@
def unique_name(bug, bugs):
continue
while (bug.uuid[:chars] == some_bug.uuid[:chars]):
chars+=1
+ if chars < 3:
+ chars = 3
return bug.uuid[:chars]
class UserError(Exception):