sapling/hgext/largefiles
Matt Harbison fa8ea6e5a3 largefiles: delegate to the wrapped clone command
This allows the wrapped command's validation code to run (which is currently
only to ensure 'noupdate' and 'updaterev' aren't both specified), the
copy/pasted unpacking of hg.clone() args to be removed, and any future changes
to the base command (however unlikely) to be inherited by largefiles.

Unfortunately, the command override can't be swapped entirely for an hg.clone()
override because the extra --all-largefiles arg needs to be injected.  It also
isn't enough to call the wrapped clone command and leave the caching code after
it, because the file caching code needs access to the destination repo, which is
only available from hg.clone().  An alternative would be to use the dest path in
the clone command override to re-obtain a reference to the repo.

A slight deviation from the regular hg.clone() function is that the repo is NOT
deleted if the caching fails, but that was also the previous behavior.  Maybe it
should for consistency?
2012-09-09 12:43:24 -04:00
..
__init__.py largefiles: mark as a first party extension 2012-07-20 22:10:52 -04:00
basestore.py largefiles: batch statlfile requests when pushing a largefiles repo (issue3386) 2012-06-24 20:36:22 +02:00
CONTRIBUTORS hgext: add largefiles extension 2011-09-24 17:35:45 +02:00
lfcommands.py check-code: indent 4 spaces in py files 2012-07-31 03:30:42 +02:00
lfutil.py largefiles: fix a traceback introduced with recent peer changes 2012-07-20 23:50:52 -04:00
localstore.py largefiles: adjust localstore to handle batch statlfile requests (issue3583) 2012-08-14 22:38:25 -04:00
overrides.py largefiles: delegate to the wrapped clone command 2012-09-09 12:43:24 -04:00
proto.py peer: introduce real peer classes 2012-07-13 21:47:06 +02:00
remotestore.py largefiles: batch statlfile requests when pushing a largefiles repo (issue3386) 2012-06-24 20:36:22 +02:00
reposetup.py largefiles: defer lfdirstate.drop() until after commit (issue3364) 2012-07-19 10:00:15 -04:00
uisetup.py largefiles: delegate to the wrapped clone command 2012-09-09 12:43:24 -04:00
wirestore.py largefiles: batch statlfile requests when pushing a largefiles repo (issue3386) 2012-06-24 20:36:22 +02:00