Commit Graph

5088 Commits

Author SHA1 Message Date
Bryan O'Sullivan
46d9ef5fcf convert: only get history for requested revs when converting hg repo 2007-08-06 14:16:50 -07:00
Bryan O'Sullivan
ce0d86f3c0 convert: raise correct type of exception if svn converter can't handle rev 2007-08-06 14:16:02 -07:00
Bryan O'Sullivan
4354d3e986 record: raise an exception correctly if we can't create a backup directory 2007-08-06 12:53:49 -07:00
Bryan O'Sullivan
4b5691e253 record: work properly if invoked in a subdirectory 2007-08-06 12:53:17 -07:00
Thomas Arendsen Hein
bbd3ff0014 merge with crew-stable 2007-08-06 20:31:15 +02:00
Thomas Arendsen Hein
502b9e407c Update on pull -u when heads were closed (fixes issue666).
Patch written by Benoit Boissinot.

This should probably be improved in the future to handle long-living
branches, as joining two "other" heads will switch to that new head.
But this is not a new problem, as adding to the "other" head would have
switched to that new head, too.
2007-08-06 20:25:50 +02:00
Patrick Mezard
6b51a27d18 Merge with crew-stable 2007-08-06 10:57:51 +02:00
Patrick Mezard
3857228c9a Fix issue 653: symlinks checkout failure on non-supporting platforms 2007-08-06 10:08:28 +02:00
Patrick Mezard
ddd22af442 test-oldcgi: replace shebangs with explicit python calls to help pysh. 2007-08-06 09:57:23 +02:00
Patrick Mezard
2a6ceeedcb test-issue352: skip tests if platform does not support EOL in paths. 2007-08-06 09:57:23 +02:00
Patrick Mezard
500ee24e06 hghave: detect support for EOL in paths. 2007-08-06 09:57:23 +02:00
Patrick Mezard
055f422fdd test-git-import: fake executable permissions. 2007-08-06 10:38:07 +02:00
Patrick Mezard
57942c16c7 hghave: detect executable permission availability. 2007-08-06 10:26:04 +02:00
Patrick Mezard
5346057af9 test-clone-failure: fake output upon fifo unavailabity 2007-08-06 09:57:23 +02:00
Patrick Mezard
27b87366de hghave: detect FIFO availability 2007-08-06 09:57:23 +02:00
Patrick Mezard
b04f418b92 Skip test-archive-symlinks if symlinks are not available 2007-08-06 09:57:23 +02:00
Alexis S. L. Carvalho
9107d93d2f merge with crew-stable 2007-08-06 01:00:10 -03:00
Alexis S. L. Carvalho
56d1444a26 httprepo: quote the path part of the URL
This should fix a 'hg clone "http://hg.example.org/path with spaces/"'

The code tries to do the right thing when the user passes a path that's
already escaped in part (e.g. "http://hg.example.org/path%20with spaces/").

If we're redirected, urllib2 will happily follow the URL it's given
without escaping anything.  I'm not sure what we would have to hook
to work around that.
2007-08-06 00:35:06 -03:00
Alexis S. L. Carvalho
502ca449fe dirstate: fix rebuild; add a test
If rebuild calls invalidate, it will just queue a (re)read of the dirstate
file, while what we really want is to empty the current state.
2007-08-05 23:04:56 -03:00
Alexis S. L. Carvalho
ed3d96430e hgweb: don't use os.path.join to build URL parts 2007-08-05 22:36:39 -03:00
Alexis S. L. Carvalho
cba13b82f6 hgwebdir: change os.sep in the name of repos to "/" 2007-08-05 22:36:39 -03:00
Brendan Cully
43a17f1dbd convert: svn: remove debugging message 2007-08-05 12:09:55 -07:00
Brendan Cully
e14b56ed31 convert: look up copies in getchanges instead of getcommit
svn: defer path expansion until getchanges to reduce latency, as well as memory
usage when converting incrementally.
2007-08-05 12:03:27 -07:00
Brendan Cully
79dfd4af0e convert: svn: pull up path to file expansion code into separate function.
This is part of the process for deferring path expansion until getchanges.
Copy detection also needs to be moved out of the commit object.
2007-08-05 11:30:52 -07:00
Brendan Cully
ae6d027bb1 convert: svn: hoist up branch creation check 2007-08-05 10:23:45 -07:00
Brendan Cully
746c44a9fc convert: svn: remove dead code 2007-08-05 10:04:28 -07:00
Brendan Cully
0febaca10c convert: svn: add helper function for optrevs 2007-08-05 10:04:00 -07:00
Brendan Cully
7bd6f8b503 patch: add git symlink support 2007-08-04 23:07:52 -07:00
Brendan Cully
bc5b76fe7b Merge with crew 2007-08-04 18:04:35 -07:00
Brendan Cully
c7dc3bf62b convert: svn: ensure leading / is removed from paths in _find_children (broken in e1a302eaf619) 2007-08-04 18:02:37 -07:00
Thomas Arendsen Hein
325c8db06b merge with crew-stable 2007-08-04 22:27:52 +02:00
Thomas Arendsen Hein
ae0d60a260 Simplify/correct finding the hg executable (fixes issue644)
Simply use find_exe('hg') as the default value for $HG and require to manually
set it if you have special requirements.

While the default will not always be 100% correct (i.e. the identical hg
version) for many users it is and for the others the hg executable found in
the PATH should do most things correctly.

Developers or other users with multiple installs can set $HG or run something
like util.set_hgexecutable in their shell or python scripts.

Additionally util.hgexecutable() is now available so extensions can access
the value with a public interface, too.
2007-08-04 22:25:12 +02:00
Bryan O'Sullivan
b7ce9fcfbd convert: drop duplicated assignments. 2007-08-04 12:38:30 -07:00
Brendan Cully
8b26a09d27 imerge: gussy up dispatcher to support subcommand opts.
Add -n, --resolved, --unresolved to status.
2007-08-04 12:26:48 -07:00
Brendan Cully
6f2a9d642d Merge with crew 2007-08-04 09:33:10 -07:00
Thomas Arendsen Hein
892866e7c0 merge with crew-stable 2007-08-04 09:48:21 +02:00
Brendan Cully
9fa1148786 imerge: handle renames 2007-08-03 18:05:20 -07:00
Matt Mackall
f5270b4251 Merge with -stable 2007-08-02 13:23:53 -05:00
Matt Mackall
2cee92939f merge: avoid double deletion mentioned in issue636 2007-08-02 12:29:10 -05:00
Thomas Arendsen Hein
ab1cf115c1 The >| redirection does not exist in plain sh. 2007-08-02 14:51:49 +02:00
Thomas Arendsen Hein
0dfe60884f imerge: sorted() is only available in python2.4 and above 2007-08-02 14:04:51 +02:00
Benoit Boissinot
3588fd3abd imerge: tarfile.extractall is only available in python2.5 2007-08-02 14:04:00 +02:00
Thomas Arendsen Hein
aca6be7686 merge with hg-stable 2007-08-02 13:03:25 +02:00
Brendan Cully
a23047ab44 Update imerge for new filemerge interface 2007-08-01 23:59:19 -07:00
Alexis S. L. Carvalho
5af674774c del transaction before lock before wlock
This way rollbacks happen while the repo is still locked.

Deleting lock before wlock is not strictly necessary, but is
more consistent with the locking order.
2007-08-02 01:56:08 -03:00
Alexis S. L. Carvalho
181f0a3596 convert: fix locking order 2007-08-02 01:56:08 -03:00
Alexis S. L. Carvalho
6aba65ae68 update tests output 2007-08-02 01:56:08 -03:00
Brendan Cully
70d50ced47 convert: (svn) simplify _find_children 2007-08-01 15:16:42 -07:00
Brendan Cully
1519ab31fb Merge with stable 2007-08-01 14:32:53 -07:00
Brendan Cully
a3d0fd0b0d Update asciidoc instructions to suggest html4 for newer versions 2007-08-01 14:32:05 -07:00