sapling/hgsubversion
David Schleimer 02682b7f4c push: update to branch tip instead of tip
We previously updated to the repository tip after pushing a revision,
presumably on the assumption that tip would be the last revision we
just pushed.  This assumption is flawed for high traffic repositories.
In particular, you previsouly would sometimes end up on a completley
unrelated commit if someone else commits to a different branch in
between the time we push a revision and pull it back from the server.

This changes to instead update to the branch tip of the branch we were
on at the beginning of the push.  This should be either the revision
we just pushed or a linear descendent of the revision we just pushed,
with a fair degree of reliability.
2014-08-30 09:23:31 -07: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 svnmeta: rename meta_data_dir to metapath 2014-02-16 16:32:00 -06: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: add wrapper for memfilectx 2014-06-02 19:53:49 -05:00
editor.py editor: fix replay handling for copied + modified symlinks 2014-04-07 18:44:46 -07:00
maps.py maps: change filemap to initialize with an svnmeta object 2014-03-24 11:20:48 -05:00
pushmod.py pushmod: prepend "link " to base text for links 2014-08-07 19:30:26 -07:00
replay.py replay: call makememfilectx 2014-06-02 19:09:44 -05:00
stupid.py stupid: call makememfilectx 2014-06-02 19:09:35 -05:00
svncommands.py svncommands: use meta.lastpulled instead of revmap.youngest 2014-03-24 11:20:44 -05:00
svnexternals.py svnexternals: remove pre-1.9 pegrev code 2013-09-06 19:22:39 -05:00
svnmeta.py maps: change filemap to initialize with an svnmeta object 2014-03-24 11:20:48 -05:00
svnrepo.py pull: fix pull when phases.new-commit=secret 2014-04-04 21:27:55 -04:00
util.py maps: change readmapfile to take a path instead of repo 2014-03-24 11:20:44 -05:00
verify.py verify: use mercurials worker API to speedup stupid verify 2013-10-01 16:55:56 +02:00
wrappers.py push: update to branch tip instead of tip 2014-08-30 09:23:31 -07:00