From: W. Trevor King Date: Fri, 14 Nov 2008 05:23:09 +0000 (-0500) Subject: Added caveat about using short bug names to unique_name(). X-Git-Tag: 1.0.0~170 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f1356144841ff5fb8b9cd7a3525725271803807b;p=be.git Added caveat about using short bug names to unique_name(). --- 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: