Patrick Mezard
9cd3444c4e
editor: fix open_file() on replaced branch
...
The mercurial parent revision was the replacing branch revision not the
replaced one.
2010-03-02 17:06:06 +01:00
Patrick Mezard
f834a403ab
editor: fix replaced files content in replay mode
2010-03-02 17:06:06 +01:00
Patrick Mezard
29cb87b49d
svnmeta: add exact arg to get_parent_revision() to handle 'R'
2010-03-02 17:06:06 +01:00
Patrick Mezard
c429e0b444
stupid: handle directory replacement in very stupid mode
...
Known failures:
- comprehensive/test_verify on replace_branch_with_branch: replaced files
content is incorrect
2010-03-02 17:06:06 +01:00
Patrick Mezard
c47bdbcb15
editor: fix issamefile() and copy detection in replay mode
...
Known failures:
- comprehensive/test_verify on replace_branch_with_branch: replaced files
content is incorrect
- comprehensive/test_stupid_pull on replace_branch_with_branch: very stupid
mode does not handle replacements correctly.
2010-03-02 17:06:06 +01:00
Patrick Mezard
2977e6b7da
Add rsvn.py to test tools
2010-03-02 17:06:06 +01:00
Augie Fackler
46894a9f2d
util: add progress wrapper to maintain 1.3 support
2010-03-03 17:44:41 -06:00
Dirkjan Ochtman
66f986fb89
maps: if operation can continue, it should probably not use ui.warn()
2010-03-01 21:26:30 +01:00
Dirkjan Ochtman
4e8189acf4
merge commands from utility_commands into svncommands
2010-02-26 15:00:15 +01:00
Dirkjan Ochtman
e4c4a43451
tests: make sure single dir clone tests get run by non-nose users
2010-02-26 14:52:50 +01:00
Dirkjan Ochtman
e5b9813875
tests: silence test suite by using quiet UIs everywhere
2010-02-26 14:50:22 +01:00
Dirkjan Ochtman
760207eee3
svnmeta: reverse parameter calculation to lessen complexity
2010-02-24 12:48:37 -05:00
Dirkjan Ochtman
7e2d3d3d2b
add basic branchmap functionality, to rename branches
2010-03-01 22:10:18 +01:00
Dirkjan Ochtman
525ead6e57
svncommands: make repo optional (useful for things like listauthors)
2010-02-23 17:16:51 +01:00
Dirkjan Ochtman
6b15b9efbb
svnwrap: save the repository root, this might be useful later on
2010-02-22 23:24:11 +01:00
Augie Fackler
3b059f8c48
tests.run: exit nonzero if tests did not pass
2010-03-01 17:45:00 -06:00
Augie Fackler
106576b2b1
Merge change from Felix Schwarz
2010-03-01 17:39:00 -06:00
Augie Fackler
7fc07a22b9
test_fetch_command: handle changes in revision extra ordering gracefully
...
This allows the tests to pass both with and without revision bfc8a096e3db.
2010-03-01 17:37:00 -06:00
fs
c8b4f515f9
remove useless shebang to comfort rpmlint
2010-02-28 22:39:57 +01:00
Augie Fackler
2a61ed0754
svn_swig: better ImportError to suggest steps for users.
2010-02-25 20:27:00 -06:00
Augie Fackler
d7fb1cad14
rebuildmeta: use ui.progress for better user feedback
2010-02-22 13:56:11 -06:00
Mark Edgington
4a46c91d2c
README: improved documentation of svn:externals support
2010-02-21 20:14:29 -06:00
Augie Fackler
d6b994b174
setup: work around easy_intall overzealously installing mercurial
2010-02-15 10:53:55 -06:00
Augie Fackler
ce31a98542
setup: work around easy_install by getting version with a regex
2010-02-15 10:53:34 -06:00
Augie Fackler
73855e4d30
pull: handle commits without any commit message
2010-02-15 10:22:12 -06:00
Augie Fackler
ee7ce0f36e
pull: move progress to after the status call
...
This makes progress bars behave a little nicer.
2010-02-15 10:21:59 -06:00
Augie Fackler
cd6997844e
pull: report progress to ui.progress so progress bars can appear
2010-02-14 14:19:57 -06:00
Augie Fackler
13566db0d1
push: try a little harder to not send invalid paths to svn
2010-02-14 14:06:04 -06:00
Augie Fackler
5798f3a681
replay/stupid: raise the correct errno in IOError to fix hg >= e370ad539526
...
Basically, all the IOErrors we ever raise inside a file commit function
that is sent to commitctx should be ENOENT. This suggests a change
should be made in commitctx to not overload IOError.
2010-02-14 14:04:56 -06:00
Patrick Mezard
1afd95ae82
pushmod: make outdated parent error message more helpful
2010-02-07 15:56:25 +01:00
Augie Fackler
9c6dfc871f
util: add parseurl method to abstract away differences between 1.4 and 1.5
2010-02-07 08:43:32 -06:00
Augie Fackler
5c37c0b38b
setup: updates for release
2010-02-07 03:32:30 -06:00
Dirkjan Ochtman
bebacff5a6
fix filterhunks for both crew and 1.4
2010-02-06 20:19:41 +01:00
Augie Fackler
d4c3b3a0d2
replay: correctly handle renaming the parent dir of a branch
2010-02-06 13:01:35 -06:00
Augie Fackler
555e763e54
utility_commands: fix hg svn genignore for single-directory mode
2010-02-06 11:13:55 -06:00
Augie Fackler
ebcd96fd15
utility_commands: unbreak hg svn info with single-directory clones
2010-02-06 10:57:58 -06:00
Augie Fackler
0e2af26484
test_util: add assertStringEqual to output diff output for string checks
2010-02-06 10:57:06 -06:00
Augie Fackler
f5c9436c75
tags: fix files edited during tag creation
...
This was broken because file edits were skipped if they were in tags, but
committags in svnmeta didn't check to see if any files were changed during
initial tag creation.
2010-02-06 10:36:21 -06:00
Augie Fackler
cf880e126a
test_util: add tags to output of draw
2010-02-06 10:36:12 -06:00
Augie Fackler
d00166d70b
clean up trailing whitespace
2010-02-06 10:34:49 -06:00
Patrick Mezard
b0cb0173d2
svnwrap: escape copy sources paths in commit handler
2010-01-25 13:51:22 +01:00
Patrick Mezard
469301fa64
svnwrap: drop unused fetch_all_files_to_dir()
2010-02-02 23:21:18 +01:00
Patrick Mezard
4c315fe286
Rewrite simple_branch.sh fixture from svn dump
...
I needed it to reproduce the space in branch issue, but failed to do so. At
least I recreated the fixture, so here it is.
2010-02-02 23:20:42 +01:00
Patrick Mezard
b65db876b5
Extend issue119 to full original weirdness
2010-02-02 21:36:08 +01:00
Patrick Mezard
f8111cb749
svnmeta: remove split_branch_tag() exacttag argument
2010-02-02 21:18:20 +01:00
Patrick Mezard
29652ed66e
svnmeta: make tag detection code more explicity
...
Also, migrate it to split_branch_path(exacttag=True)
2010-02-02 21:15:03 +01:00
Patrick Mezard
dfe5159b5f
svnmeta: do not change added/deletedtags while detecting them
2010-02-02 21:10:01 +01:00
Patrick Mezard
7dc86cecf3
svnmeta: make get_parent_revision() handle added tags
2010-02-02 21:05:59 +01:00
Patrick Mezard
12ac2d0afb
Handle subdirectory tags in stupid mode (issue119)
...
Current solution add an alternate behaviour to svnmeta.split_branch_path(),
which unfortunately looks like the expected behaviour. Other calls will be
changed to make it the default behaviour.
2010-01-30 10:01:03 +01:00
Patrick Mezard
e7d56d5df2
stupid: port hack from stupid to moderately stupid mode
2010-01-30 09:55:28 +01:00