aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2008-11-14 00:23:09 -0500
committerW. Trevor King <wking@drexel.edu>2008-11-14 00:23:09 -0500
commitf1356144841ff5fb8b9cd7a3525725271803807b (patch)
treefddd797b32c5c26fddc56ae304eb9847d6fc9b8d
parent67127ba95f877071ba2958d507527690ba70b231 (diff)
downloadbugseverywhere-f1356144841ff5fb8b9cd7a3525725271803807b.tar.gz
Added caveat about using short bug names to unique_name().
-rw-r--r--libbe/cmdutil.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py
index cc2b60f..5c9f5b1 100644
--- 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: