# HG changeset patch # User Matt Mackall # Date 1276201411 18000 # Node ID e83aff248c177ecdb741ae045e6d63369afb7845 # Parent 716e176a4e0123c531b641b76d906520fda4413b strip: backup bundles should use the .hg extension diff -r 716e176a4e01 -r e83aff248c17 mercurial/repair.py --- a/mercurial/repair.py Wed Jun 09 12:41:44 2010 -1000 +++ b/mercurial/repair.py Thu Jun 10 15:23:31 2010 -0500 @@ -17,7 +17,7 @@ backupdir = repo.join("strip-backup") if not os.path.isdir(backupdir): os.mkdir(backupdir) - name = os.path.join(backupdir, "%s-%s" % (short(node), suffix)) + name = os.path.join(backupdir, "%s-%s.hg" % (short(node), suffix)) return changegroup.writebundle(cg, name, "HG10BZ") def _collectfiles(repo, striprev):