Commit Graph

231 Commits

Author SHA1 Message Date
Augie Fackler
de990f1817 svn_swig_wrapper: hacky workaround to prevent running out of files in stupid
replay.
2009-01-06 14:54:32 -06:00
Graham Booker
8b8a5894cd Fetch: add a filemap argument for use in converting old repositories to
Mercurial.
2009-01-03 20:15:03 -06:00
Patrick Mezard
8fb27961b4 test_utility_commands: fix normalized URL references under Windows 2009-01-02 15:54:07 -06:00
Patrick Mezard
00a0fd11d8 README: document svn:externals support 2009-01-02 15:54:06 -06:00
Patrick Mezard
c17e74afd3 Really delete the .hgsvnexternals file when explicitely removed 2009-01-02 15:54:06 -06:00
Patrick Mezard
5629bbe05a Support svn:externals changes via .hgsvnexternals updates 2009-01-02 15:54:05 -06:00
Patrick Mezard
ae52abfad6 Convert svn:externals properties into a .hgsvnexternals file 2009-01-02 15:54:05 -06:00
Patrick Mezard
b5fa04611f push_cmd: make _isdir() a standalone function 2008-12-30 20:34:03 -06:00
Patrick Mezard
5ae9dd6e23 SubversionRepo: simplify and rename proplist() into list_prop()
list_prop() will be used to retrieve svn:externals properties. Current
implementation was unused and was simplified to match the use case.
2008-12-30 20:33:59 -06:00
Patrick Mezard
0b49ad0f17 push_cmd: do not store files to delete content
File content is used to set mime-types and compute deltas. Both are useless for
files to delete.
2008-12-30 20:33:58 -06:00
Patrick Mezard
980ed94914 test_util: check all committed revisions are pushed 2008-12-30 20:33:57 -06:00
Patrick Mezard
f64f7be3b4 fetch_command: cancel patching when encountering binary diffs
Mercurial patching code does not support hunks with embedded nul characters.
2008-12-30 20:33:56 -06:00
Augie Fackler
42010019a9 authormap: Add tests, fix in stupid mode. 2008-12-30 20:14:03 -06:00
Graham Booker
b2a95bec11 fetch: Add support for an authormap which can rename authors, intended for
repository conversion.
2008-12-30 20:13:32 -06:00
Martin Geisler
53c5143055 Fixed typo: "continue" should have been "break". 2008-12-30 19:24:16 -06:00
Martin Geisler
76c7749e87 Fix "hg svn outgoing" help text. 2008-12-30 19:24:16 -06:00
Martin Geisler
836372d707 Remove unneeded call to list. 2008-12-30 19:24:16 -06:00
Martin Geisler
e76f623bb9 Combine sort and reverse. 2008-12-30 19:24:16 -06:00
Martin Geisler
c53336909f Punctuation. 2008-12-30 19:24:16 -06:00
Martin Geisler
4be4532ad3 Wrapped long lines in README. 2008-12-30 19:24:16 -06:00
Augie Fackler
135487c29b info: Actually determine and show the repo root. 2008-12-30 10:12:16 -06:00
Augie Fackler
c74984a398 parse_revmap: Stop supporting pickled revmaps. I've made enough major changes
that any of those still left are useless anyway.
2008-12-24 11:23:19 -06:00
Augie Fackler
c356268aac Import cleanup thanks to pyflakes. 2008-12-24 11:17:50 -06:00
Augie Fackler
3c2aac4c1a utility_commands: Test outgoing and fix it to work again. 2008-12-24 11:12:23 -06:00
Augie Fackler
6aecfd2ab4 hg_delta_editor: Produce some output when creating a tag. 2008-12-24 10:52:31 -06:00
Augie Fackler
6f8b90fbad utility_commands: Implement rebuildmeta so that metadata can be rebuilt.
hg_delta_editor: Fixed some longstanding branch_info bugs detected while
rebuilding meta.
2008-12-23 22:19:26 -06:00
Augie Fackler
c6cb3f3922 fetch: Refactor extra creation to be shared by real and diff replay.
Add convert-compatible meta information to extra.
2008-12-23 11:10:32 -06:00
Augie Fackler
bb1ad558ba tests: Fix some missing suite definitions so that running the full testsuite
does not require installing nose.
2008-12-23 17:45:34 -06:00
Augie Fackler
0bf53be828 push: Fix the bad implementation that required modifying the dirstate to push. 2008-12-22 21:22:11 -06:00
Augie Fackler
7c015a9586 push: Use a better method for finding the outgoing revisions. 2008-12-22 21:21:39 -06:00
Augie Fackler
59a1a426b6 push: Improved the rebasing logic for push so that it doesn't break with
keeping branch names during rebase.
2008-12-22 21:21:11 -06:00
Augie Fackler
a8a83f58cc rebase: preserve local branch names.
Note: this commit introduces a dependency on Mercurial 1.1.1 or later.
2008-12-22 21:20:10 -06:00
Augie Fackler
8ec19e30a3 tests: Add an environment variable (HGSUBVERSION_TEST_TEMP) which allows
specification of where temporary repositories (both hg and svn) should be
created. Set it to a RAM disk to make the tests run faster.
2008-12-20 19:13:46 -06:00
Augie Fackler
2377a3ba9f Improve branch closing in the case of a single-rev replacement of one branch
with another. Includes a test case.
2008-12-20 19:04:59 -06:00
Augie Fackler
6d8dcda2b5 Add some more coverage directives. 2008-12-15 22:48:04 -06:00
Patrick Mezard
d7fb402a05 hg_delta_editor: reset properties of deleted entries
Otherwise, in case of entry replacement the properties are incorrectly
inherited.
2008-12-15 21:57:10 -06:00
Patrick Mezard
d194742e5b test_fetch_command: test file and directory deletions 2008-12-15 21:39:35 -06:00
Augie Fackler
16901783af Phrasing nits. 2008-12-15 21:36:14 -06:00
Alexander Solovyov
75672b42c8 documentation update 2008-12-14 17:31:26 +02:00
Augie Fackler
217c63acb2 Fix missing newlines. 2008-12-12 09:47:54 -06:00
Augie Fackler
2b165f10a7 util: Add a command to normalize svn urls and use it in a couple of places. Test that it works and prevents failed assertions. 2008-12-11 20:41:57 -06:00
Augie Fackler
dd6ddc6cc1 utility_commands: Add tests for url and info. Fix a bad mock in the process. 2008-12-11 20:24:48 -06:00
Augie Fackler
5c3930383a diff_cmd: more robust, add tests. 2008-12-11 19:49:36 -06:00
Augie Fackler
cb573314e6 .hgignore: ignore nose coverage html. 2008-12-11 19:21:05 -06:00
Augie Fackler
5a6b6fb661 Fix an apparent regression where branch name didn't get properly stored for
commits forced on empty branches.
2008-12-11 17:34:33 -06:00
Augie Fackler
b504f748bf tests: Fix a missing pass of stupid=True. 2008-12-11 17:19:43 -06:00
Augie Fackler
3b82b8db55 Add notes on how metadata is stored and recovered. Note that at this point,
none of this has actually been implemented. This is documentation of the
improved system to be used in the future.
2008-12-01 11:13:01 -06:00
Augie Fackler
245956d4eb hg_delta_editor: fix bad parent revision calculation in the case of a branch
recycling a name.

Also implemented marking branches as closed in both replay and stupid paths.
2008-12-10 14:29:05 -06:00
Patrick Mezard
cca43db578 test_fetch_renames: test file and directory case changes 2008-12-10 11:03:23 -06:00
Patrick Mezard
4962def957 hg_delta_editor: fix parent revision detection on branch copy
Project items copyfrom revisions are irrelevant to parent revision detection,
only the project one or those of its ancestors matter. Items copyfrom is
useful when retrieving items content.

Former code resulted in incorrect converted graph for pyglet repository,
especially on the following revision:

------------------------------------------------------------------------
r274 | r1chardj0n3s | 2006-12-21 02:02:14 +0100 (Jeu, 21 Dec 2006) | 2 lines
Changed paths:
   A /branches/richard-glx-version (from /trunk:269)
   M /branches/richard-glx-version/pyglet/window/xlib/__init__.py
   R /branches/richard-glx-version/tests/test.py (from /trunk/tests/test.py:270)
   R /branches/richard-glx-version/tools/info.py (from /trunk/tools/info.py:272)
   R /branches/richard-glx-version/website/get_involved.php (from /trunk/website/get_involved.php:273)

Branching to horribly mangle GLX
2008-12-10 11:03:22 -06:00