Commit Graph

563 Commits

Author SHA1 Message Date
Dirkjan Ochtman
6cee3da2d5 stupid: eliminate dependency on editor.current 2009-06-10 17:57:11 +02:00
Dirkjan Ochtman
b308cc5132 editor: move current revision state into a separate class
This makes it more obvious and needs fewer faux namespacing.
2009-06-11 10:12:16 +02:00
Dirkjan Ochtman
37eea655d1 move aresamefiles() from HgChangeReceiver to util 2009-06-10 17:29:11 +02:00
Dirkjan Ochtman
75d1f9d477 extract the filemap support into a separate class 2009-06-11 18:52:30 +02:00
Dirkjan Ochtman
d8027dac29 extract the revmap support into a separate dict-like class 2009-06-10 15:45:20 +02:00
Dirkjan Ochtman
1748957a2d editor: use decorators, get rid of unnecessary property 2009-06-10 14:53:22 +02:00
Dirkjan Ochtman
7d8640b60a add a function to generate svn_commit_hashes 2009-06-10 13:57:04 +02:00
Dirkjan Ochtman
23dd79e66d editor: simplify HgChangeReceiver constructor signature 2009-06-10 13:32:10 +02:00
Dirkjan Ochtman
cd0491f9d5 add a working incoming wrapper command 2009-06-10 14:55:26 +02:00
Dirkjan Ochtman
3a67c8f4bb uisetup: use a single loop/abstraction for wrapping all the commands 2009-06-10 12:06:31 +02:00
Dirkjan Ochtman
105e824d6f uisetup: move clone and push/pull wrappers to wrappers module 2009-06-10 11:35:59 +02:00
Dirkjan Ochtman
278e7ab8ca stupid: simplify stupid committing code 2009-06-10 10:15:57 +02:00
Dirkjan Ochtman
faacd9fbbc branches: simplify branch deletion a little bit 2009-06-10 09:51:33 +02:00
Dirkjan Ochtman
bbb2a00b42 tags: end branch while tagging instead of creating extra changeset 2009-06-10 09:35:45 +02:00
Dirkjan Ochtman
62db97095b tags: obey usebranchnames setting 2009-06-10 09:30:32 +02:00
Dirkjan Ochtman
0c6b24e964 branches: correctly deal with branch closing directly after copy/rename 2009-06-11 18:00:58 +02:00
Dirkjan Ochtman
51ca6df482 tools: use new svn verify command instead of svn export incantations 2009-06-09 19:48:13 +02:00
Dirkjan Ochtman
0adf46f3a3 svncommands: add verify command 2009-06-11 19:14:05 +02:00
Dirkjan Ochtman
f6a407653c tests: add -A option to run.py for running comprehensive tests 2009-06-11 11:34:37 +02:00
Dirkjan Ochtman
f18ad364f2 tests: send warning to stderr instead of redirected stdout 2009-06-11 11:39:45 +02:00
Augie Fackler
a059a4c8da urls: Make sure we preserve username in urls given to ssh. 2009-06-06 11:53:21 -05:00
Augie Fackler
0f8ea9ba07 README: svn+http is outdated. 2009-06-01 13:44:19 -05:00
Augie Fackler
2169476b47 wrappers: Python 2.4 compat. 2009-06-01 11:50:12 -05:00
Augie Fackler
6464b37601 tags: Fix an improper parent calculation. 2009-06-01 11:21:47 -05:00
Augie Fackler
f647a4d7c7 tools: Fixes for verification that seemed to be needed. 2009-06-01 11:10:32 -05: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