sapling/hgext
Greg Ward 692cfc05a8 transplant: crash if repo.commit() finds nothing to commit
(makes issue2135, issue2264 more obvious, but does nothing to fix
either one)

This seems to happen in two distinct cases:
  * patch.patch() claims success but changes nothing (e.g.
    the transplanted changeset adds an empty file that already
    exists)
  * patch.patch() makes changes, but repo.status() fails to report them

Both of these seem like bugs in other parts of Mercurial, so arguably
it's not transplant's job to detect the failure to commit.  However:
  * detecting the problem as soon as possible is desirable
  * it prevents a more obscure crash later, in transplants.write()
  * there might be other lurking (or future) bugs that cause
    repo.commit() to do nothing

Also, in the case of issue2264 (source changesets silently dropped by
transplant), the only way to spot the problem currently is the crash
in transplants.write().  Failure to transplant a patch should abort
immediately, whether it's user error (patch does not apply) or a
Mercurial bug (e.g. repo.status() failing to report changes).
2010-07-18 21:29:29 -04:00
..
convert convert: cleanup of filemap help text 2010-07-08 15:44:14 +02:00
highlight highlight: fix to work with caching templater 2010-04-19 16:47:44 -05:00
inotify inotify: make inotifydirstate.status() returns a tuple of lists. 2010-07-20 14:00:47 -04:00
zeroconf zeroconf: small fixes in docstring 2010-07-03 01:56:09 +02:00
__init__.py Re-add hgext/__init__.py 2005-09-29 12:49:01 -07:00
acl.py acl: delete trailing whitespace in docstring 2010-06-20 19:48:28 +02:00
bookmarks.py bookmarks: ensure current bookmark is updated when specified with -r . 2010-07-14 11:02:20 -04:00
bugzilla.py bugzilla: revert unhelpful check-code changes, module is actually called MySQLdb 2010-02-15 09:57:11 +01:00
children.py help: show value requirement and multiple occurrence of options 2010-06-06 17:25:00 +09:00
churn.py Backed out changeset: 1bfde817782c 2010-06-08 15:52:41 -05:00
color.py color/progress: subclass ui instead of using wrapfunction (issue2096) 2010-07-01 19:23:26 -05:00
eol.py eol: extension for managing file EOLs 2010-05-31 21:37:01 +02:00
extdiff.py help: show value requirement and multiple occurrence of options 2010-06-06 17:25:00 +09:00
fetch.py help: show value requirement and multiple occurrence of options 2010-06-06 17:25:00 +09:00
gpg.py move working dir/dirstate methods from localrepo to workingctx 2010-06-07 20:03:32 +02:00
graphlog.py glog: fix crash on empty revision range 2010-06-24 21:35:52 -07:00
hgcia.py patch/diff: move patch.export() to cmdutil.export() 2010-03-08 19:43:24 +01:00
hgk.py help: show value requirement and multiple occurrence of options 2010-06-06 17:25:00 +09:00
interhg.py interhg: fixes regression introduced by bb95879961db 2010-02-06 21:25:02 -02:00
keyword.py keyword: postpone manifest calculation in kwtemplater.overwrite 2010-06-15 17:15:31 +02:00
mq.py mq: cleanup status if applied mq is stripped (issue1881) 2010-07-20 20:37:29 +05:30
notify.py many, many trivial check-code fixups 2010-01-25 00:05:27 -06:00
pager.py pager: respect HGPLAIN 2010-06-20 01:20:12 +09:00
parentrevspec.py many, many trivial check-code fixups 2010-01-25 00:05:27 -06:00
patchbomb.py patchbomb: reduce number of opts.get calls 2010-06-16 00:37:21 +02:00
progress.py color/progress: subclass ui instead of using wrapfunction (issue2096) 2010-07-01 19:23:26 -05:00
purge.py Use hg role in help strings 2010-04-22 10:24:49 +02:00
rebase.py mq: qrepo.add(mq.added) inside save_dirty inside of doing it manually 2010-07-13 22:30:01 +09:00
record.py Merge with stable 2010-05-31 13:55:47 +02:00
relink.py relink: ensure deterministic directory walk in collect 2010-06-16 12:22:14 +02:00
schemes.py schemes: add Kiln On Demand to default schemes 2010-03-24 16:42:08 -04:00
share.py share: drop experimental label 2010-04-01 00:02:12 +02:00
transplant.py transplant: crash if repo.commit() finds nothing to commit 2010-07-18 21:29:29 -04:00
win32mbcs.py Merge with stable 2010-01-19 22:45:09 -06:00
win32text.py win32text: mark this extension as deprecated 2010-06-02 14:54:25 +02:00