# HG changeset patch # User Sean Farley # Date 1395678044 18000 # Node ID 8be51900386839f205726bd9edefa5dc1c2fe610 # Parent 6137fcdef1b9dd66d0755e0fc330a93c1b031d78 svncommands: use RevMap.VERSION instead of hardcoding '1' diff --git a/hgsubversion/svncommands.py b/hgsubversion/svncommands.py --- 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):