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
Patrick Mezard
17bfcef457
convert: support windows SVN simple auth provider
2007-08-02 23:38:32 +02: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
7f36ffc2b5
The >| redirection does not exist in plain sh.
2007-08-02 14:51:49 +02: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
Brendan Cully
fc8076b99a
Merge with mpm
2007-08-01 14:26:30 -07:00
Bryan O'Sullivan
9f09f6b444
Automated merge with http://hg.intevation.org/mercurial/crew
2007-08-01 12:03:50 -07:00
Matt Mackall
600c42bfbf
Merge with stable
2007-08-01 14:03:48 -05:00
Bryan O'Sullivan
a487c999a8
dirstate: improve error message on file/directory clash
2007-08-01 12:03:10 -07:00
Brendan Cully
dbb657852c
imerge extension and test
2007-08-01 11:37:11 -07:00
Matt Mackall
d76c06eeb0
merge: do early copy to deal with issue636
...
Without copies/renames, merges source names are 1:1 with their
targets. Copies and renames introduce the possibility that there will
be two merges with the same input but different output. By doing the
copy to the destination name before the merge, the actual merge
becomes 1:1 again, and no source is the input to two different merges.
- add a preliminary scan to applyupdates to do copies
- for the merge action, pass the old name (for finding ancestors) and
the new name (for input to the merge) to filemerge
- eliminate the old post-merge copy
- lookup file contents from new name in filemerge
- pass new name to external merge helper
- report merge failure at new name
- add a test
2007-08-01 12:33:12 -05:00
Bryan O'Sullivan
b89554c4ea
localrepository: allow rawcommit to commit with an empty message
2007-08-01 09:57:05 -07:00
Thomas Arendsen Hein
c6fa90f553
Update style of record's cmdtable to match mercurial/commands.py
2007-08-01 10:42:42 +02:00
Thomas Arendsen Hein
e05f361209
os.isatty isn't available on Windows, so use sys.stdin.isatty()
2007-08-01 10:33:21 +02:00
Bryan O'Sullivan
bfb3dfc715
convert: add config option to turn off use of branch names
2007-07-31 17:18:59 -07:00
Bryan O'Sullivan
a79766b2cd
Add record extension, giving darcs-like interactive hunk picking
2007-07-31 16:28:05 -07:00
Bryan O'Sullivan
80c88dabf8
ui: get readline and prompt to behave better depending on interactivity
2007-07-31 16:28:05 -07:00