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
Patrick Mezard
761dfca8ac
svnmeta: make it easier to get converted revision info
2010-01-30 09:52:24 +01:00
Patrick Mezard
9971df7d31
svnmeta: speedup get_parent_revision() in common case
2010-01-30 09:49:30 +01:00
Patrick Mezard
5b22e10feb
stupid: use real branch path in diff_branchrev()
2010-01-30 09:43:30 +01:00
Dan Villiom Podlaski Christiansen
5a94472195
Change all instantiations of IOError to set both errno and strerror.
2010-01-26 17:36:13 +01:00
Patrick Mezard
025b9eab8d
test_tags: rewrite both the test and the fixture script
...
I needed this to debug it after changes in tagging code.
2010-01-29 23:36:14 +01:00
Patrick Mezard
ea1cf945a5
stupid: replace dicts with sets
2010-01-29 23:36:14 +01:00
Patrick Mezard
b0ba5a82b5
replay: disable maybeedit filtering, could discard copy records
...
Copy records were not taken in account when telling whether a file was changed
or not. Besides, the only place maybeedits were added was when recording
directory copies.
2010-01-29 23:36:14 +01:00
Patrick Mezard
e4a25fdc50
test_util: add helper to draw repo with graphlog extension
...
Priceless when debugging comprehensive tests
2010-01-29 23:36:14 +01:00
Augie Fackler
514c41a837
setup: remove bogus print statements
2010-01-25 14:51:22 -06:00
Augie Fackler
fe457bc972
hgignore: ignore the version file
2010-01-22 18:03:02 -06:00
Dan Villiom Podlaski Christiansen
da501a10ca
__init__: update docstring to reflect recent change to README
2010-01-11 17:12:33 +01:00
Dan Villiom Podlaski Christiansen
d8cb303ff4
wrappers: calculate and return exact count of changesets added.
2010-01-11 17:12:30 +01:00
Patrick Mezard
0d79a65be7
test_util: fix Windows test URLs
2010-01-20 20:50:59 +01:00
Patrick Mezard
8e750663c7
Handle tag subdirectory as tag in replay mode (issue119)
...
Original version by Dirkjan Ochtman <dirkjan@ochtman.nl>
2010-01-22 18:01:19 -06:00
Patrick Mezard
0e5e640582
svnmeta: internalize tags delta
...
Original version by Dirkjan Ochtman <dirkjan@ochtman.nl>
2009-12-17 16:34:00 +01:00
Patrick Mezard
208898e524
maps: TagMap tags are non-empty strings
2010-01-18 21:40:29 +01:00
Patrick Mezard
6f1e72e09d
editor: remove useless test
2010-01-18 21:40:28 +01:00
Patrick Mezard
b0b5f39efe
svnmeta: is_path_tag() is really get_path_tag()
...
Enforce that returned tags are non-empty.
2010-01-16 17:25:09 +01:00
Dirkjan Ochtman
42a5e8dd2d
tests: make better use of the config options for fixture loading
2009-12-17 14:44:07 +01:00
Augie Fackler
899399f4e9
README: updated reason users might want to avoid hgsubversion
2010-01-10 16:03:12 -06:00
Patrick Mezard
32c0b86b81
stupid: update filteriterhunks() for hg 1.5
2010-01-10 19:42:13 +01:00
Augie Fackler
b26e80aacc
test renames: remove redundant code
2009-12-24 14:46:03 -06:00
Augie Fackler
15d8f2ac36
tests: test paths with spaces
2009-12-24 13:38:06 -06:00
Augie Fackler
58c98f67c2
paths: autoescape paths from the user
...
This means that users should no longer URI-encode their paths. This is
a change from the past, and may require some small changes to .hg/hgrc.
This fixes certain odd issues resulting from inconsistent handling
of URI-encoding throughout hgsubversion.
2009-12-24 13:30:08 -06:00