sapling/hgext
Matt Harbison 2aaabbf1cc largefiles: handle commit -A properly, after a --large commit (issue3542)
Previous to this, 'commit -A' would add as normal files, files that were already
committed as largefiles, resulting in files being listed twice by 'status -A'.
It also missed when (only) a largefile was deleted, even though status reported
it as '!'.  This also has the side effect of properly reporting the state of the
affected largefiles in the post commit hook after a remove that also affected a
normal file (the largefiles used to be 'R', now are properly absent).

Since scmutil.addremove() is called both by the ui command (after some trivial
argument validation) and during the commit process when -A is specified, it
seems like a more appropriate method to wrap than the addremove command.

Currently, a repo is only enabled to use largefiles after an add that explicitly
identifies some file as large, and a subsequent commit.  Therefore, this patch
only changes behavior after such a largefile enabling commit.

Note that in the test, if the final commit had a '-v', 'removing large8' would
be printed twice.  Both of these originate in removelargefiles().  The first
print is in verbose mode after traversing remove + forget, the second is because
the '_isaddremove' attr is set and 'after' is not.
2012-07-30 20:56:41 -04:00
..
convert convert: use subprocess for all commandline calls 2012-08-03 21:37:33 +02:00
highlight hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
inotify hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
largefiles largefiles: handle commit -A properly, after a --large commit (issue3542) 2012-07-30 20:56:41 -04:00
zeroconf hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
__init__.py Re-add hgext/__init__.py 2005-09-29 12:49:01 -07:00
acl.py doc: unify section level between help topics 2012-07-25 16:40:38 +09:00
bugzilla.py bugzilla: stop bugs always being marked as fixed in xmlrpc (issue3484) 2012-06-06 16:44:17 +01:00
children.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
churn.py churn: lowercase message 2012-06-12 14:18:18 +02:00
color.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
eol.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
extdiff.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
factotum.py factotum: add man reference to help output 2012-05-04 09:14:55 -07:00
fetch.py fetch: lowercase abort message 2012-06-12 14:18:18 +02:00
gpg.py consistency: use REV instead of REVISION 2012-06-20 16:49:04 +02:00
graphlog.py incoming/outgoing: handle --graph in core 2012-07-11 18:22:07 +02:00
hgcia.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
hgk.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
histedit.py merge with i18n 2012-08-06 12:03:07 -05:00
interhg.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
keyword.py keyword: use ui.formatter for kwfiles output 2012-06-28 15:06:41 +01:00
mq.py peer: introduce peer methods to prepare for peer classes 2012-07-13 21:46:53 +02:00
notify.py merge with stable 2012-06-13 20:14:28 +02:00
pager.py pager: drop -S option for less in example for pager configuration 2012-07-31 15:50:44 +02:00
patchbomb.py patchbomb: rewrite getoutgoing() with revsets 2012-06-24 18:11:52 +02:00
progress.py progress: use ui._isatty 2012-05-20 14:37:20 -05:00
purge.py purge: lowercase messages 2012-06-12 14:18:18 +02:00
rebase.py rebase: remove second broken synopsis line (issue3172) 2012-07-31 18:18:26 +02:00
record.py record: fix display of non-ASCII names 2012-07-01 13:10:54 -05:00
relink.py peer: introduce peer methods to prepare for peer classes 2012-07-13 21:46:53 +02:00
schemes.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
share.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
transplant.py transplant: fix emptied changeset message 2012-08-01 14:08:19 +02:00
win32mbcs.py hgext: mark all first-party extensions as such 2012-05-15 14:37:49 -05:00
win32text.py win32text: lowercase warning message 2012-06-12 14:18:18 +02:00