projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67127ba
)
Added caveat about using short bug names to unique_name().
author
W. Trevor King
<wking@drexel.edu>
Fri, 14 Nov 2008 05:23:09 +0000
(
00:23
-0500)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 14 Nov 2008 05:23:09 +0000
(
00:23
-0500)
libbe/cmdutil.py
patch
|
blob
|
history
diff --git
a/libbe/cmdutil.py
b/libbe/cmdutil.py
index cc2b60f3fb4b727f4dc0b810e23d9b66433dec42..5c9f5b1789343fd511166fda1c630bf7b1862a99 100644
(file)
--- a/
libbe/cmdutil.py
+++ b/
libbe/cmdutil.py
@@
-28,6
+28,10
@@
def unique_name(bug, bugs):
Generate short names from uuids. Picks the minimum number of
characters (>=3) from the beginning of the uuid such that the
short names are unique.
+
+ Obviously, as the number of bugs in the database grows, these
+ short names will cease to be unique. The complete uuid should be
+ used for long term reference.
"""
chars = 3
for some_bug in bugs: