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
Patrick Mezard
ab83ba2548
test_fetch_rename: test content of files coming from the past
2008-12-10 11:03:22 -06:00
Patrick Mezard
df8af5a02a
fetch_command: in stupid mode, load file content on demand
2008-12-10 11:03:21 -06:00
Patrick Mezard
c61416ff22
fetch_command: in stupid mode, load binary files when necessary
2008-12-10 11:03:20 -06:00
Patrick Mezard
7d0556a2e2
fetch_command: patch files in memory in stupid mode
2008-12-10 11:03:20 -06:00
Patrick Mezard
a9f4c82415
run.py: register and develop test_fetch_symlinks
2008-12-10 11:03:19 -06:00
Patrick Mezard
cc0dbae2c2
Move and complete execute bit conversion tests into test_fetch_exec.py
2008-12-10 11:03:18 -06:00
Luke Opperman
beecf48b3b
tag_repo: remove gentags command, extend repo.tags(), HgChangeEditor now takes either repo or repo_path
2008-12-04 13:10:40 -06:00
Augie Fackler
a071605551
Fix a bug in replay convert where replaced files that couldn't use replay
...
would sometimes end up having no content.
2008-12-03 22:51:03 -06:00
Patrick Mezard
a1dea77fe1
SubversionRepo: work around ra.get_files() not releasing input buffer
2008-12-02 20:13:13 -06:00
Augie Fackler
b66e1ea5f4
README: We now only require hg 1.1, rather than a prerelease version.
2008-12-02 20:10:11 -06:00
Patrick Mezard
f378fe3193
hg_delta_editor: do not assume branches are copied from trunk by default
...
Here is what happen in jquery repository:
- kelvin-dev branch is created in r1617 with an empty directory for the
datePicker plugin
- commits are done
- datePicker plugin is merged in trunk
Before the fix, the converter assumed the initial empty commit had for parent
some other commit of trunk, therefore adding all its files, which was wrong.
And we ended with 'alignDemo.html' in converted trunk@5946 while it was not in
the source revision.
2008-11-29 11:25:01 -06:00
Patrick Mezard
a8d51edac3
hg_delta_editor: fix update of stray files in branches/
...
Ensure that self.current_file is a non-empty path in a branch.
2008-11-29 11:25:01 -06:00
Patrick Mezard
ede6bdfce9
fetch_command: ignore stray files in branches/ in non-diff mode
2008-11-29 11:25:01 -06:00
Patrick Mezard
05423736da
Add a disabled test for unrelated branches
...
The fix is not obvious but preserving the test helps fixing other stuff.
2008-11-29 11:25:01 -06:00
Patrick Mezard
e7cc3df833
hg_delta_editor: merge _is_path_valid() and _path_and_branch_from_path()
2008-11-29 11:24:31 -06:00
Luke Opperman
022302b49e
Clean up help text, document subcommands.
2008-11-20 22:03:30 -06:00
John Paulett
bd4c9c37dc
Correct a typo in the README.
2008-11-27 21:24:06 -06:00
John Paulett
0fae755633
Better note on how to pull a repository.
2008-11-27 21:23:01 -06:00
Augie Fackler
4ec9620b80
Fix a regression in converting repositories with files copied in from outside
...
branches/tags/trunk where repo root != project root.
2008-11-25 16:21:57 -06:00
Augie Fackler
0b3d81a7d5
fetch_command: Fix mis-converted executable when svn:executable was set to the
...
empty string.
2008-11-25 09:45:38 -06:00
Patrick Mezard
86ee82c737
fetch_command: pass parent changectx instead of identifier
2008-11-25 09:18:30 -06:00
Patrick Mezard
34229c49c6
fetch_command: only raise BadPatchApply() from stupid_diff_branchrev()
2008-11-25 09:18:29 -06:00
Patrick Mezard
2b794d4357
fetch_command: extract diff code in a function
2008-11-25 09:18:29 -06:00
Patrick Mezard
5739062901
fetch_command: use the opener to read touched files
2008-11-25 09:18:28 -06:00
Patrick Mezard
25e5c47562
fetch_command: simplify deleted files enumeration, bypass filesystem
2008-11-25 09:18:28 -06:00
Patrick Mezard
3dbb1a3cec
fetch_command: move diff file deletion code back with everything else
2008-11-25 09:18:27 -06:00
Patrick Mezard
940661ae1d
fetch_command: remove useless delete_all_files case
2008-11-25 09:18:27 -06:00
Patrick Mezard
d7400e6d83
fetch_command: simplify diff code with opener objects
2008-11-25 09:18:26 -06:00
Patrick Mezard
edb6ae1ead
fetch_command: remove dead code
2008-11-25 09:18:26 -06:00
Augie Fackler
e9d74f009c
Cleanups based on pyflakes output.
2008-11-21 16:21:19 -06:00
Augie Fackler
adf788f9aa
Add a diff command that behaves kind of like svn diff.
2008-11-21 16:15:23 -06:00
Augie Fackler
8c5f2ca7f0
Refactored outgoing_revisions into util where it really belongs.
2008-11-21 16:11:24 -06:00
Patrick Mezard
c86541b258
fetch_command: simplify replay_convert_rev() with svn.list_files()
2008-11-20 22:41:14 -06:00