Dirkjan Ochtman
06d8e99e57
remove trailing spaces
2008-04-16 12:09:16 +02:00
Patrick Mezard
f7c7c06863
convert: fix svn file copy detection code
2008-04-14 22:31:34 +02:00
Patrick Mezard
9d916aae03
convert: fix svn branch source detection corner case
...
It was confused by composite-looking revisions made by copy + remove.
2008-04-14 22:31:34 +02:00
Patrick Mezard
b54ae05232
convert: cleanup svn file copy handling
2008-04-14 22:31:34 +02:00
Patrick Mezard
7914c93a87
convert: handle past or foreign partial svn copies
...
Subversion allows revisions to be composed of subparts coming from revisions
before the parent or from other part of the repository. There is no simple
representation for these now, keep the changes but do not track their origins.
2008-04-14 22:31:34 +02:00
Patrick Mezard
19cd4308ab
convert: more cleanup in svn directory copy handling
2008-04-14 22:31:33 +02:00
Patrick Mezard
c06ff5b448
convert: svn directory copy handling cleanup
2008-04-14 22:31:33 +02:00
Patrick Mezard
a5bba7499c
convert: improve subversion branch filtering
2008-04-14 22:31:33 +02:00
Patrick Mezard
a210321674
convert: rename get_entry_from_path() into an svn_source method
2008-04-14 22:31:33 +02:00
Patrick Mezard
8278052793
convert: fix subpaths detection in svn source
2008-04-14 22:31:33 +02:00
Thomas Arendsen Hein
657d20646f
Fix spacing error introduced in d44685e2377e
2008-04-08 18:39:02 +02:00
Patrick Mezard
7d3027f767
convert: check svn branches are directories
2008-04-07 11:59:20 +02:00
Patrick Mezard
664a12a36c
convert: allow tags detection to be disabled
...
Tags calculation becomes more reliable but slower, measurable on frequent
synchronizations.
2008-03-29 17:16:18 +01:00
Patrick Mezard
686a0f8465
convert: follow svn tags history (issue953)
2008-03-29 17:15:45 +01:00
Patrick Mezard
f6b95792a5
convert: avoid svn log retrieval process cleanup
...
With huge history (like kdelibs), the process termination suddenly consumes a
lot of memory (from 700M to 1.3G+). Since the job is done, clean termination is
not required, just exit.
2008-03-29 17:14:53 +01:00
Patrick Mezard
d098a6938d
convert: record deleted files in monotone source
2008-03-24 17:02:08 +01:00
Patrick Mezard
df0cbbb71a
convert: allow missing tools not to stop source type detection
2008-03-20 23:32:43 +01:00
Eric Hopper
40e06fccb8
convert: Add convert.cvsps option to set up an alternate cvsps command line.
2008-03-17 12:41:14 -07:00
Mikkel Fahnøe Jørgensen
9cd04d5249
cleanup monotone conversion and use commandline class
2008-02-03 16:14:05 +01:00
Mikkel Fahnøe Jørgensen
c3353ce9f9
initial version of monotone source for convert extension
2008-02-02 19:14:59 +01:00
Patrick Mezard
f51cfe018c
convert: avoid querying log of foreign svn branches
...
Server configuration may prevent access to other branches, so don't even try to
get them, instead of ignoring them afterwards.
2008-03-16 00:35:14 +01:00
Patrick Mezard
b31dc66c25
convert: rename MAPFILE into REVMAP to disambiguate with filemap
2008-03-12 23:21:01 +01:00
Joel Rosdahl
c26213193c
Avoid importing mercurial.node/mercurial.repo stuff from mercurial.hg
2008-03-06 22:51:16 +01:00
Joel Rosdahl
bd755ed723
convert: Remove unused clone method
2008-03-06 22:23:41 +01:00
Joel Rosdahl
2cc739b2aa
convert: Fix unbound name error in the subversion backend
2008-03-06 22:23:41 +01:00
Joel Rosdahl
4f8012378a
Remove unused imports
2008-03-06 22:23:41 +01:00
Joel Rosdahl
5dae3059a0
Expand import * to allow Pyflakes to find problems
2008-03-06 22:23:26 +01:00
Thomas Arendsen Hein
deb94bc7fe
Removed trailing spaces from everything except test output
2008-03-07 00:24:36 +01:00
Marti Raudsepp
ceefe77d88
convert: Clean up authormap key=value splitting.
...
Introduces a subtle parsing difference: dstauthor can now contain '='
characters.
2008-02-28 17:37:56 +02:00
Marti Raudsepp
40ade60f8b
convert: Avoid redundant newline on authormap errors.
...
The extra rstrip is necessary in case the file has uses different line
terminators (i.e. CRLF).
2008-02-28 17:37:56 +02:00
Marti Raudsepp
c1c082f372
convert: Ignore empty lines in authormap file.
2008-02-28 17:37:56 +02:00
Patrick Mezard
1bee8eb741
convert: add shallow, single branch svn conversions via svn.startrev
2008-02-24 17:58:55 +01:00
Patrick Mezard
e6c6545487
convert: allow svn trunk/branches/tags detection to be skipped
...
- eluding convert.svn.branches defaults to "branches"
- convert.svn.branches= disables branches detection
- convert.svn.branches=/ is equivalent to former convert.svn.branches=
2008-02-24 17:58:53 +01:00
Patrick Mezard
613f127c0d
convert: improve subversion source documentation
2008-02-23 16:43:33 +01:00
Bryan O'Sullivan
032bc4fcfa
convert: document splicemap, allow setting of multiple parents
2008-02-19 10:53:40 -08:00
Patrick Mezard
401c3763ae
convert: improve cycles detection message
2008-02-16 11:55:33 +01:00
Patrick Mezard
c909c274fa
Merge with crew-stable
2008-02-16 12:46:28 +01:00
Patrick Mezard
b6695538ff
convert: fix --datesort ordering
...
Two branches a and b starting at root, with commits interleaved like:
root a0 a1 b0 a2 a3 b1
were converted in the following order:
root a0 b0 a1 b1 a2 a3
Replace depth based toposort with a more classic traversal method.
2008-02-16 11:55:33 +01:00
Kirill Smelkov
518f3df46c
[RFC] convert: fix --datesort
...
The problem is that previously commit.date was used for sorting, but it's a
string like "1 Jan xxx 2007", so it it wrong to use it for sorting.
Another problem is that why we are using depth for sorting -- I have no clear
answer -- it seems to be plain wrong.
This patch is just an RFC.
2007-12-18 14:01:34 -06:00
Alexis S. L. Carvalho
99a2d5f75c
convert: use 'unknown' and '0 0' if commit author or date weren't specified
...
Closes issue873.
2008-02-03 21:03:46 -02:00
Patrick Mezard
fd2ee26173
convert: hg.clonebranches must pull missing parents (issue941)
2008-01-26 19:55:04 +01:00
Thomas Arendsen Hein
76157ccf47
CVS convert: Find correct parent for new branch (issue704)
...
Previously the parent was determined by the last changeset where the branched
file was changed even if the branch is based on an earlier revision.
Fix written by mpm.
2008-01-22 00:16:50 +01:00
Patrick Mezard
494df8c5f5
convert: mercurial sink must be local
2008-01-21 22:24:28 +01:00
Thomas Arendsen Hein
64125b8004
convert: Do not abort with TypeError if svn commit message is None (issue934)
2008-01-21 21:44:16 +01:00
Patrick Mezard
2e6086567e
convert: enforce svn_source.getchanges() files unicity
2008-01-21 10:04:35 +01:00
Patrick Mezard
33d8300598
convert: fix invalid svn.ra.check_path() call (issue 771)
...
The svn transport must be reparented to repository root before using
check_path() with full entrypaths.
2008-01-19 14:39:30 +01:00
Patrick Mezard
8fdc85530f
convert: filemap must call base converter before()/after() actions
2008-01-04 23:23:47 +01:00
Patrick Mezard
9760500b06
convert: move commands definition to ease demandload job (issue 860)
2007-12-09 15:25:36 +01:00
David J. Mellor
b1df375d09
convert: fix SVN date parser dropping the final whole second digit
2007-12-06 13:10:25 -08:00
Alexis S. L. Carvalho
8775f8f81c
convert: make sure mercurial_source has a local hg repo
2007-11-09 20:21:35 -02:00