Commit Graph

923 Commits

Author SHA1 Message Date
Dirkjan Ochtman
ce7d6dfcca Generate separate data structure containing revision's tags/branches changes. 2009-05-29 17:33:52 +02:00
Dirkjan Ochtman
2d6b72dfd0 Simplify pulling revs a bit, unify stupid/replay interfaces. 2009-05-28 10:57:09 +02:00
Dirkjan Ochtman
eff8c21a6c Merge hge._is_path_tag() and hge._split_tag_path(). 2009-05-28 09:58:00 +02:00
Dirkjan Ochtman
0b875d5050 Move HgChangeReceiver.aresamefiles() to before the editor methods. 2009-05-28 09:57:28 +02:00
Dirkjan Ochtman
a06d403303 Move exception classes in hg_delta_editor up top. 2009-05-28 09:57:00 +02:00
Dirkjan Ochtman
e9d43912e9 Replace stash_exception_on_self() by @ieditor. 2009-05-28 09:55:33 +02:00
Dirkjan Ochtman
2c3445fb61 Merge fetch_history_at_paths() and revisions() in svn wrappers. 2009-05-28 09:54:41 +02:00
Dirkjan Ochtman
a4e1b66614 Author maps: strip comments. 2009-05-28 09:44:47 +02:00
Dirkjan Ochtman
a93bb5d115 Author maps: code/message style (prevent line continuations). 2009-05-28 09:44:08 +02:00
Dirkjan Ochtman
7e0ec65639 Author maps: handle lines without = gracefully. 2009-05-28 09:41:00 +02:00
Augie Fackler
c4ba46f1f0 push: don't refuse to push if it looks like we haven't pulled all changes.
We can't rely on the most-recent change number matching our most-recent
change number because there can be changes in svn that produce no
corresponding hg changeset.
2009-05-27 21:40:58 -05:00
Augie Fackler
edc85a5efe Fix a bug in branch ancestry calculation. 2009-05-22 23:38:01 -05:00
Dan Villiom Podlaski Christiansen
dc410cd4c5 hg_delta_editor: do not raise an error for bad symlinks, but warn instead. 2009-05-22 17:47:09 +02:00
Dan Villiom Podlaski Christiansen
4464869581 Remove the 'outgoing' wrapper, and use the Mercurial infrastructure instead. 2009-05-22 15:12:31 +02:00
Dan Villiom Podlaski Christiansen
3019e64c19 improve reliability of Subversion checks.
Use the presence of the UUID file for recognising a Subversion-enabled
repository locally, and the 'subversion' capability in for recognising
them wrappers.outgoing() remotely.0
2009-05-20 21:49:01 +02:00
Dan Villiom Podlaski Christiansen
0f6b91a6ff remove pointless rstrip('/') 2009-05-20 21:11:34 +02:00
Dan Villiom Podlaski Christiansen
ce861ee5d6 Mention what failed when given a non-numeric revision to clone/pull.
Replace test_branch_tip_update_to_branch_anchor with test_branch_pull_anchor
2009-05-20 21:15:47 +02:00
Dan Villiom Podlaski Christiansen
766236992e don't retain authormap and filemap options 2009-05-20 19:07:12 +02:00
Dan Villiom Podlaski Christiansen
bb2a7bf94d Use fallbacks in the wrappers for Subversion support, instead of prefixes.
The change only applies to the ambiguous URL schemes: file, http and
https. The others - svn+ssh and svn - behave the same as previously.

For http and https, the wrapping is implemented in 'svnrepo.py': Only
when the attempt to create a httprepo instance fails, will the URL
be considered for Subversion URL.

For file, the ambiguity is treated much like the Mercurial core
distinguishes bundle and directories. In this case, a directory that
looks like a Subversion repository will *not* be considered for a
Mercurial clone.

Tthe command lines are more similar to before this refactor. The only
option added to push & pull is --stupid; others are only added to
clone. Any of these options specified to clone will be added to the
generated '.hgrc'.

Also, the -r/--rev option now works for clone & push.
2009-05-20 18:38:01 +02:00
Dan Villiom Podlaski Christiansen
60bc888ea1 wrappers: remove unused clone() function.
Also, tweaked a few comments and status messages, and added some whitespace.
2009-05-20 18:11:55 +02:00
Dan Villiom Podlaski Christiansen
8ccdbbe1e9 Minor tweaks to wrapper documentation. 2009-05-19 11:43:49 +02:00
Augie Fackler
5024c1f280 Merge with crew. 2009-05-26 22:22:00 -05:00
Augie Fackler
94a7ecbe68 Reorganize to have a more conventional module structure.
This means that hgsubversion now uses absolute imports instead of
relative ones, which makes the tests more reliable.
2009-05-13 21:39:39 -05:00