Peter Arrenbrecht
7b457d8a6a
whitespace cleanup
2009-04-27 09:12:07 +02:00
Patrick Mezard
dfb2f86779
convert/svn: fix pathname parsing from URL under Windows
2009-04-26 20:19:40 +02:00
Matt Mackall
f6c8930392
replace various uses of list.reverse()
2009-04-26 16:50:44 -05:00
Matt Mackall
2f9b02c62d
replace util.sort with sorted built-in
...
This is marginally faster for small and moderately-sized lists
2009-04-26 16:50:44 -05:00
Matt Mackall
de487eacda
ui: print_exc() -> traceback()
2009-04-26 16:50:44 -05:00
Francis Barber
54d390306a
Fix subversion convert not detecting empty changesets.
...
Need to check for the empty as list as well as None.
2009-04-25 21:27:47 +08:00
Martin Geisler
9fc1be4b52
strutil: removed rsplit
2009-04-24 17:32:18 +02:00
Martin Geisler
44aa7e92d1
util: use built-in set instead of util.unique
2009-04-22 00:56:06 +02:00
Martin Geisler
1deb417a82
util: use built-in set and frozenset
...
This drops Python 2.3 compatibility.
2009-04-22 00:55:32 +02:00
Matt Mackall
4dd4659bf4
Merge with crew
2009-04-23 15:39:41 -05:00
Matt Mackall
a5b463e685
Merge with crew
2009-04-21 12:58:05 -05:00
Martin Geisler
80dd126e92
remove unnecessary outer parenthesis in if-statements
2009-04-22 01:39:47 +02:00
Wagner Bruna
44eb149a36
convert: fix typo
2009-04-05 05:13:39 -03:00
Augie Fackler
1115665ae8
convert: Improved svn source detection.
2009-04-04 20:19:51 -05:00
Matt Mackall
f2b63f05d7
convert: attempt to check repo type before checking for tool
2009-04-04 12:28:13 -05:00
Peter Arrenbrecht
19591b6a8c
cleanup: drop unused assignments
2009-03-23 13:13:06 +01:00
Peter Arrenbrecht
a2d3e23eef
cleanup: drop variables for unused return values
...
They are unnecessary. I did leave them in localrepo.py where there is
something like:
_junk = foo()
_junk = None
to free memory early. I don't know if just `foo()` will free the return
value as early.
2009-03-23 13:13:02 +01:00
Dirkjan Ochtman
0027b7f5ed
convert: honor 2.3 compatibility (rsplit)
2009-03-18 17:49:11 +01:00
Michael Springmann
10782daaf2
exporting patch:
...
Fixed behavior of revsplit for branch names including the @-symbol.
2009-03-13 21:14:57 +01:00
Martin Geisler
cbcd677f60
lowercase ui.debug and assert output
...
This does not effect the log or status commands and should be okay
according to the compatibility rules.
2009-01-03 17:15:21 +01:00
Patrick Mezard
a03d1cd8a8
convert: backout 54f9cfa0c3a5
...
This change is brain damaged, there is no reason the copyfrom revision of the
project items may have any relevance when deciding the revision parent. It is
meaningful only when fetching files content.
Incorrect converted graph was spotted in pyglet svn repository at:
------------------------------------------------------------------------
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-06 20:10:31 +01:00
Patrick Mezard
9ac3f8c16d
convert: improve reporting of invalid svn bindings
2008-11-30 22:51:42 +01:00
Patrick Mezard
ec5e4be1e7
convert: work around svn.ra.get_files() not releasing input buffer
2008-11-30 22:01:26 +01:00
Patrick Mezard
66e081318f
Merge with crew-stable
2008-11-15 15:57:12 +01:00
Patrick Mezard
ce81a90498
convert: be even more tolerant when detecting svn tags
...
Former code failed when tracking child directories we assumed were renamed with
their parents but were really created in the tags directory. This happens in
jQuery repository with /tags/ui/1.5b4/release@5455.
2008-11-15 15:51:26 +01:00
Dirkjan Ochtman
e085823cf1
clean up trailing spaces
2008-10-20 14:51:55 +02:00
Dirkjan Ochtman
664ef048a7
merge with crew-stable
2008-10-20 14:52:58 +02:00
Patrick Mezard
3eb95e081f
convert: properly encode subversion URLs (issue 1224)
2008-10-10 11:36:02 +02:00
Matt Mackall
e03f4e2f73
util: set_flags shouldn't know about repo flag formats
2008-08-10 21:55:06 -05:00
Patrick Mezard
dac1504d71
convert: normalize paths sent to svn get_log (issue 1219)
2008-07-27 17:09:33 +02:00
Patrick Mezard
da68d00afc
convert: remove leading slash from ra.check_path inputs (issue 1236)
2008-07-25 20:43:41 +02:00
Patrick Mezard
beff6fa2b6
convert: restore previous svn transport parent correctly
2008-07-25 20:37:41 +02:00
Dirkjan Ochtman
67bd09df5b
python2.6: use subprocess if available
2008-10-05 21:35:26 +02:00
Patrick Mezard
f8f73e46ef
Merge with crew-stable
2008-10-10 13:20:40 +02:00
Martin Geisler
a791bcac31
i18n: mark strings for translation in convert extension
2008-08-31 16:12:02 +02:00
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
Dirkjan Ochtman
6b51480caa
merge with crew-stable
2008-08-12 17:47:08 +02:00
Patrick Mezard
a7fffbf6bb
Merge with crew-stable
2008-07-30 22:33:40 +02:00
Patrick Mezard
88ac610380
Merge with crew-stable
2008-07-25 20:47:04 +02:00