Mercurial > public > mercurial-scm > hg-stable
diff mercurial/repair.py @ 24686:e0e28e910fa3
bundle2: rename format, parts and config to final names
It is finally time to freeze the bundle2 format! To do so we:
- rename HG2Y to HG20,
- drop "b2x:" prefix from all part names,
- rename capability to "bundle2-exp" to "bundle2"
- rename the hook flag from 'bundle2-exp' to 'bundle2'
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 09 Apr 2015 16:25:48 -0400 |
parents | f962692853c0 |
children | f3558829471b |
line wrap: on
line diff
--- a/mercurial/repair.py Wed Apr 08 09:38:09 2015 -0700 +++ b/mercurial/repair.py Thu Apr 09 16:25:48 2015 -0400 @@ -42,7 +42,7 @@ name = "%s/%s-%s-%s.hg" % (backupdir, short(node), totalhash[:8], suffix) if usebundle2: - bundletype = "HG2Y" + bundletype = "HG20" elif compress: bundletype = "HG10BZ" else: