diff svncommand.py @ 28:9c481cae0428

Change the format of generated tags so they are tag/$tag instead of tag:$tag so that you can use them as revision args in diff.
author Augie Fackler <durin42@gmail.com>
date Fri, 10 Oct 2008 14:19:06 -0500
parents 1a5bb173170b
children a9c15cae50e5
line wrap: on
line diff
--- a/svncommand.py
+++ b/svncommand.py
@@ -62,7 +62,7 @@ def generate_hg_tags(ui, hg_repo_path, *
     f = open(os.path.join(hg_repo_path, '.hg', 'localtags'), 'w')
     for tag, source in tag_info.iteritems():
         source_ha = hg_editor.get_parent_revision(source[1]+1, source[0])
-        f.write('%s tag:%s\n' % (node.hex(source_ha), tag))
+        f.write('%s tag/%s\n' % (node.hex(source_ha), tag))
 
 @register_subcommand('up')
 def update(ui, args, repo, clean=False, **opts):