sapling/hggit
Siddharth Agarwal c188adb4b9 hg2git: in _init_dirs, store keys without leading '/' (issue103)
Previously, whenever a tree that wasn't the root ('') was stored, we'd prepend
a '/' to it. Then, when we'd try retrieving the entry, we'd do so without the
leading '/'. This caused data loss because existing tree entries were dropped
on the floor. Fix that by only adding '/' if we're adding to a non-empty
initial path.

This wasn't detected in tests because most of them deal only with files in the
root and not ones in subdirectories.
2014-03-25 11:11:04 -07:00
..
help docs: update to correctly reflect that local git repositories are supported 2012-09-13 20:57:37 -04:00
__init__.py safebranchrevs: handle changelog having no commits 2014-03-04 23:20:50 -08:00
_ssh.py Upgraded to use latest version of dulwich (0.9.1). 2013-09-13 01:42:27 +01:00
git_handler.py hg2git: start incremental conversion from a known commit 2014-03-14 20:45:09 -07:00
gitdirstate.py gitdirstate: import errno for handling OSError 2014-02-07 10:43:49 -05:00
gitrepo.py gitrepo: drop support for Mercurial < 1.7 2014-02-19 15:54:37 -08:00
hg2git.py hg2git: in _init_dirs, store keys without leading '/' (issue103) 2014-03-25 11:11:04 -07:00
hgrepo.py hgrepo.tags: drop support for Mercurial < 2.0 2014-02-19 16:09:23 -08:00
overlay.py overlayrevlog: handle root commits correctly 2014-02-25 00:23:12 -08:00
util.py util: drop support for Mercurial < 1.4 2014-02-19 18:49:42 -08:00
verify.py verify: drop broken and unused import statement 2014-03-01 09:37:26 -05:00