changeset 1169:8be519003868

svncommands: use RevMap.VERSION instead of hardcoding '1'
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:44 -0500
parents 6137fcdef1b9
children c55b94dc3a48
files hgsubversion/svncommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svncommands.py
+++ b/hgsubversion/svncommands.py
@@ -89,7 +89,7 @@ def _buildmeta(ui, repo, args, partial=F
             ui.status('no metadata available -- doing a full rebuild\n')
 
     revmap = open(meta.revmap_file, 'w')
-    revmap.write('1\n')
+    revmap.write('%d\n' % maps.RevMap.VERSION)
     revmap.writelines(sofar)
     last_rev = -1
     if not partial and os.path.exists(meta.tagfile):