Commit Graph

231 Commits

Author SHA1 Message Date
Augie Fackler
5a45028f9b rebase: cleanup slightly. 2009-03-30 16:11:45 -05:00
Augie Fackler
b8e5ec13ee Better 502 logic that does not catch non-502 errors. 2009-03-31 15:53:41 -05:00
Augie Fackler
eeee067c89 Merge with crew. 2009-04-07 13:48:58 -05:00
Luke Opperman
d7320cbc4a issue67: mercurial 1.3 util incompatibility with encoding swap 2009-04-07 13:30:05 -05:00
Luke Opperman
2cd6817e45 Avoid problems in _localname for commits to tags by ignoring them 2009-03-31 15:23:38 -05:00
Augie Fackler
7b6569355c Fixing syntax highlighting in emacs. 2009-03-30 10:24:27 -05:00
Augie Fackler
5c717b908c util: better error messages when finding svn parent of a revision. 2009-03-28 17:59:55 -05:00
Augie Fackler
ba6b0ce8c5 push: Do not attempt to push empty revisions. 2009-03-28 17:50:00 -05:00
Augie Fackler
f98b7e744e info: stop failing if the rev is not a child of an svn rev. 2009-03-28 17:38:48 -05:00
Augie Fackler
648006ec19 branches: change handling again, but this time a little less magic.
This change means that files located in the actual branches directory will now be wholly
ignored. If we want to handle those correctly, it will take a reasonably large amount of work
and probably a configuration flag. Also, any non-related paths outside of branches/trunk will
be explicitly ignored, which is similar to the somewhat accidental pre-branch-refactor
behavior. Finally, any unrelated files located as children of branches will cause the directory
in branches to be used as the branch - not, as recently was the case, the directory immediately
containing that file.
2009-03-28 16:38:57 -05:00
Augie Fackler
786e73be71 hg_delta_editor: stop using foobaz as a bogus filename. 2009-03-28 14:27:27 -05:00
Augie Fackler
5aaf6d2220 tools: fixes for wc outputting with spaces. 2009-03-28 14:26:35 -05:00
Augie Fackler
9bb1cfc43f Stopped idiotic filtering of revisions that did not edit something branches/tags/trunk.
Fixed a bunch of tests as a result. This likely will make new conversions of some repos have new revisions in them.
2009-03-27 16:56:07 -05:00
Dan Villiom Podlaski Christiansen
b3126abecf Use a reverse lookup in authormap to determine the author for 'hg svn info'. 2009-03-27 02:59:42 +01:00
Dan Villiom Podlaski Christiansen
d5600d0016 Get rid of .hg/svn/last_rev:
We now calculate the last known revision by iterating over all known
revisions and finding the highest number. Theoretically, we might be
able to simply read the latest entry, but in practice, that's a bug
waiting to happen. For instance, we might want to achieve
compatibility with '.hg/shamap' as generated by the
ConvertExtension, and it not only cannot offer a guarantee of
linearity, but it also allows more than one conversion to source exists.

I'd say we have other problems to care about until this turns up as a
hotspot in profiling. Such as why we leak circa 100MB of memory per
1000 revisions converted ;)
2009-03-27 01:09:36 +01:00
Dirkjan Ochtman
fb3ecc8ed3 Reuse ui from the repo if available. 2009-03-20 16:40:51 +01:00
Augie Fackler
a54db6d5a8 tools: refactor stuff into common.sh, make verify-all-heads not revert. 2009-03-20 10:18:34 -05:00
Dan Villiom Podlaski Christiansen
f434f48525 Exception clean-ups; use symbolic names & avoid Python 2.6 deprecations. 2009-03-19 21:27:39 +01:00
Augie Fackler
bf0322b6fa info: produce canonical URLs more of the time. 2009-03-17 15:11:03 -05:00
Augie Fackler
55ed09f2fc fetch: Fix a bug that caused plaintexts to be interpreted as missing more often than they should be.
Also refactored a large part of hg_delta_editor to make it carry slightly less state around.
2009-03-16 23:19:00 -05:00
Augie Fackler
76e9c35106 Add a shell script to verify the conversion result for all heads in a multi-branch repo. 2009-03-16 23:19:00 -05:00
Augie Fackler
328dd3a7e6 Better error message when we encounter an unknown SSL cert. 2009-03-13 13:41:18 -05:00
Augie Fackler
427cb559f5 Removed verify_* commands and replaced them with a shell script to pass to hg bisect --command. 2009-03-09 14:13:48 -05:00
Augie Fackler
6b854b9187 fetch: Fix a bogus case where no files in the root level of trunk caused breakage in the branch detection. 2009-03-09 12:01:40 -05:00
Augie Fackler
053f69ee89 push: Converted a magic number to an actual constant, and catch another apr_err that appears to also mean base text out of date. 2009-03-03 10:13:40 -06:00
Luke Opperman
4372506a87 Less fail with rebuildmeta url argument 2009-03-03 09:35:06 -06:00
Augie Fackler
7f302f14cd test_rebuildmeta: Remove the "expected missing" hack now that the branch refactor fixed that problem. 2009-03-03 00:02:09 -06:00
Augie Fackler
5771c60c73 Refactor branch handling to be much more dynamic (and hopefully robust).
This should allow fixing of several outstanding issues with branch handling. Note that this is a *massive* change to one of the oldest parts of hgsubversion, so it might introduce bugs not caught by the testsuite.
2009-03-02 23:58:38 -06:00
Augie Fackler
9cbde47428 Stop allowing "missing" branches in the tests, since that is fixed by the branch refactor. 2009-03-02 23:54:32 -06:00
Augie Fackler
23ef2a31d9 Be more explicit about which branch I'm checking. 2009-03-02 23:54:14 -06:00
Augie Fackler
9d3ff792fb stupid replay: Don't actually try and apply diffs to files we don't have anyway. 2009-03-02 23:50:40 -06:00
Augie Fackler
8a85f21bcb Add a genignore utility command that generates an hgignore file by scraping svn:ignore properties. 2009-02-24 14:30:21 -06:00
Dan Villiom Podlaski Christiansen
ef78fe32f8 Output consolidation; decrease the ‘Fetching...’ message to debug level. 2009-02-12 15:10:42 +01:00
Dan Villiom Podlaski Christiansen
88d2020164 Replace a few asserts with aborts. 2009-02-12 15:08:53 +01:00
Augie Fackler
664ecd5406 Add a naive hg svn version command that works as long as hgsubversion is run from a checkout. 2009-02-10 14:52:26 -06:00
Augie Fackler
7c17f8a473 Remove useless imports. 2009-01-21 20:29:23 -06:00
Augie Fackler
4626e889e8 Add some comprehensive tests that can be run with nose in order to make it easier to verify stupid and real replay do the same thing. 2009-01-21 20:27:51 -06:00
Martin Geisler
29b7c6fc14 Simplify normalize_url. 2009-01-21 20:38:10 -06:00
Martin Geisler
1dbd056902 Promote first heading to a real title. 2009-01-21 20:38:10 -06:00
Martin Geisler
98c965e8ed Mark command line and svn:externals as literal text. 2009-01-21 20:38:09 -06:00
Martin Geisler
f65be35673 Fix reST syntax error in README. 2009-01-21 20:35:51 -06:00
Martin Geisler
1671644c60 Wrap long lines in README. 2009-01-21 20:35:51 -06:00
Patrick Mezard
cd8a76d22d fetch_command: fix coding style 2009-01-21 20:10:32 -06:00
Patrick Mezard
5d9f1c0769 fetch_command: fix file exclusion in very stupid mode 2009-01-21 20:10:32 -06:00
Dan Villiom Podlaski Christiansen
9fa0ebe195 Create patch to make normal output much less verbose… 2009-01-17 15:30:38 -06:00
Dan Villiom Podlaski Christiansen
02b49dedf8 Creating patch for documention messages. 2009-01-17 15:30:37 -06:00
Patrick Mezard
91ce6eb557 Do not recurse for externals on copied directory in stupid mode
We inherit the source externals, changes to children will appear in the
changelog.
2009-01-14 23:17:13 -06:00
Patrick Mezard
f3f120cc99 test_externals: test branch copy, use absolute externals 2009-01-14 23:17:12 -06:00
Benoit Boissinot
4097b5cf15 remove generators (compat with python2.3) 2009-01-13 15:39:22 +01:00
Benoit Boissinot
e9bbb4b6f5 remove decorators (compat with python2.3) 2009-01-13 13:59:50 +01:00