sapling/hgsubversion
Sean Farley c5bb92cb4a uuid: use util.dump and util.load for writing and reading
We need to change both svnmeta and svncommands at the same time since they are
heavily tied together.

The reason for this change is to remove the duplicate code for reading and
writing uuid present in svncommands.py. We will now use the standard util.dump
and util.load for writing and reading.

This presents a slight change in file format. Previously, the uuid file had the
format:

d073be05-634f-4543-b044-5fe20cf6d1d6[no newline]

and after this change, it is:

"d073be05-634f-4543-b044-5fe20cf6d1d6"[newline optional]

Due to the way json reads a string, the old format is still valid for use and
will be read correctly.
2014-03-14 19:44:35 -05:00
..
help layouts: add support for an infix between tbt and the hg root 2013-09-11 10:55:01 -07:00
hooks Add a changegroup hook to update svn metadata 2012-06-07 16:29:05 -07:00
layouts layouts: use util.load instead of bare pickle 2013-08-23 10:57:09 -05:00
svnwrap subvertpy wrapper: printable path adapter 2013-08-11 21:59:59 +02:00
__init__.py layouts: add support for an infix between tbt and the hg root 2013-09-11 10:55:01 -07:00
compathacks.py compathacks: specify for generic compatibility hacks 2014-02-15 01:59:21 -06:00
editor.py pull: correctly handle replacing the root of a branch with a non-copied directory 2013-11-16 16:16:59 -08:00
maps.py maps: call util.dump instead save_string 2014-02-15 10:54:08 -06:00
pushmod.py push: allow obtaining the traceback for Subversion exceptions 2013-08-10 08:01:36 +02:00
replay.py compathacks: new module to collect hacks to work around hg internals changing 2014-02-03 01:55:56 -05:00
stupid.py compathacks: new module to collect hacks to work around hg internals changing 2014-02-03 01:55:56 -05:00
svncommands.py uuid: use util.dump and util.load for writing and reading 2014-03-14 19:44:35 -05:00
svnexternals.py svnexternals: import pathutil.canonpath if available 2013-11-22 11:09:59 -08:00
svnmeta.py uuid: use util.dump and util.load for writing and reading 2014-03-14 19:44:35 -05:00
svnrepo.py Merge with stable. 2014-02-12 09:19:03 -05:00
util.py util: fallback to raw string reading if pickle fails 2014-02-18 17:19:29 -06:00
verify.py verify: use mercurials worker API to speedup stupid verify 2013-10-01 16:55:56 +02:00
wrappers.py layouts: add support for an infix between tbt and the hg root 2013-09-11 10:55:01 -07:00