changeset 3606:c0ef682c2c70

Use repository.version () iso peeking into and using branch only.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Wed, 11 Jul 2007 21:59:35 +0200
parents 0157f1b5ab1b
children cc0158c86570
files gub/gubb.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/gubb.py	Wed Jul 11 21:58:34 2007 +0200
+++ b/gub/gubb.py	Wed Jul 11 21:59:35 2007 +0200
@@ -211,7 +211,8 @@
         b = ''
         if self.vc_repository and self.vc_repository.is_tracking ():
             try:
-                b = '-' + self.vc_repository.branch.replace ('/', '-')
+                #b = '-' + self.vc_repository.branch.replace ('/', '-')
+                b = '-' + self.vc_repository.version ()
             except AttributeError:
                 pass
         return b