Commit Graph

393 Commits

Author SHA1 Message Date
Risto Kankkunen
0db6274d7c Reclaim repository object to avoid tearDown() failing to remove the open file 'testrepo/db/rep-cache.db' 2009-07-29 18:38:28 +03:00
Risto Kankkunen
1f2d044467 Make tearDown() be able to delete read-only files to avoid an exception when removing 'testrepo/db/format' 2009-07-29 18:03:02 +03:00
Risto Kankkunen
7ef4f586e9 Avoid 'Abort: Illegal repository URL' exception 2009-07-29 17:41:40 +03:00
Risto Kankkunen
86c848fa77 Avoid 'ValueError: close_fds is not supported on Windows platforms' exception 2009-07-29 17:26:29 +03:00
Risto Kankkunen
33f76a3f2d No os.spawnvp() in Windows, use subprocess.call() instead 2009-07-29 16:34:15 +03:00
Augie Fackler
bb9730ee84 svnexternals: Change an absolute import to be relative.
Reported independantly by several people.
2009-05-30 20:49:51 -05:00
Augie Fackler
4ef172f3b6 hg_delta_editor: fix missing-plaintext fetching 2009-05-30 15:35:24 -05:00
Augie Fackler
1ae27b3192 version: fix version calculation for new repo layout. 2009-05-30 15:34:51 -05:00
Augie Fackler
08b50dea23 Remove defunct nourl lists. 2009-05-30 15:34:29 -05:00
Augie Fackler
e269de6bdc Remove vestigial references to the tags_info file we no longer need. 2009-05-30 20:28:07 -05:00
Augie Fackler
19d2b38555 push: Prevent pushing of edits to .hgtags to svn. 2009-05-30 20:55:21 -05:00
Augie Fackler
c8e1c2c71d tags: fix handling for certain nonstandard tag layouts. 2009-05-30 20:18:14 -05:00
Augie Fackler
0fdcf661f0 tags: Fix parent detection so that copyfrom trunk@5 correctly falls back to trunk@4 if trunk@5 is not in the revmap. 2009-05-30 13:44:33 -05:00
Augie Fackler
f7aa9c1fa8 test_tags: Add a test that verifies tags get deleted properly even in the presence of somewhat odd branching. 2009-05-30 19:46:03 -05:00
Dirkjan Ochtman
1a15140873 Inline HgChangeReceiver.load_base_from_ctx(). 2009-05-29 22:48:27 +02:00
Dirkjan Ochtman
8530b7ce85 Move HgChangeReceiver.branches_in_paths() to the stupid module. 2009-05-30 11:11:04 -05:00
Dirkjan Ochtman
84e206b518 Use tbdelta to push added tags into .hgtags. 2009-05-29 15:28:44 +02:00
Dirkjan Ochtman
459151e1b5 Make branch closing more Mercurial-like.
We now use the 'close' value from extra instead of the old closed-branches branch.
2009-05-29 15:24:12 +02:00
Dirkjan Ochtman
5d162d93a3 Extract branch closing from stupid/editor into separate function. 2009-05-29 15:29:40 +02:00
Dirkjan Ochtman
d1fd971578 Get rid of duplicate branch closing detection code for stupid mode. 2009-05-29 13:12:28 +02:00
Dirkjan Ochtman
cffa7e94e0 Test for open branches in the pull result. 2009-05-29 13:41:28 +02:00
Dirkjan Ochtman
732ec34ab2 Add some comments for rebuildmeta, simplify a little. 2009-05-29 12:36:30 +02:00
Dirkjan Ochtman
1bebc2ff75 Reorder different commit blocks. 2009-05-29 12:36:27 +02:00
Dirkjan Ochtman
78174e1ae9 Extract closed_revs into closebranches and closedrevs.
Also add some comments to make the flow clearer in hge.commit_current_rev().
2009-05-29 12:36:23 +02:00
Dirkjan Ochtman
d309abb343 Abstract out a branchedits() function. 2009-05-29 11:45:08 +02:00
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
Dirkjan Ochtman
821671f633 Allow passing in module arguments to the test runs. 2009-05-28 08:48:57 +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
9c16ad01df test_util: make it easier to test odd push cases 2009-05-27 15:51:04 -05:00
Augie Fackler
6735f09d51 comprehensive: fix for new repo layout. 2009-05-27 10:57:38 -05:00
Augie Fackler
dc443da783 setup.py: Use setuptools if available. 2009-05-25 12:44:33 -05:00
Augie Fackler
edc85a5efe Fix a bug in branch ancestry calculation. 2009-05-22 23:38:01 -05:00
Augie Fackler
80b48d0eec test_util: Add another missing project root. 2009-05-22 23:37:33 -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
fae3070938 test_push_command: this test causes an author of None.
This may be unintended, but we should test for it nonetheless.
2009-05-22 13:42:51 +02:00
Dan Villiom Podlaski Christiansen
df55ee21ef test_push_command: improve readability a bit. 2009-05-22 13:41:21 +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