Patrick Mezard
8a575f0b78
Merge with crew-stable
2009-05-15 16:17:56 +02:00
Patrick Mezard
d3d9100f4a
convert/bzr: fix symlinks target (issue1626/2)
2009-05-15 16:12:09 +02:00
Dirkjan Ochtman
1e9b20dc8f
mq: qpush shouldn't complain if working dir is at a non-tip head
2009-05-15 15:21:17 +02:00
Dirkjan Ochtman
f9ccb5f95a
contrib: add tmplrewrite.py script to help rewrite old templater syntax
2009-05-15 10:47:19 +02:00
Dirkjan Ochtman
42214607df
spartan: use newer template syntax everywhere
2009-05-15 10:47:13 +02:00
Dirkjan Ochtman
8a34c657f7
monoblue: use newer template syntax everywhere
2009-05-15 10:47:05 +02:00
Dirkjan Ochtman
daf1f83687
raw: use newer template syntax everywhere
2009-05-15 10:46:59 +02:00
Dirkjan Ochtman
5d9bd0d9a8
atom/rss: use newer template syntax everywhere
2009-05-15 10:46:52 +02:00
Dirkjan Ochtman
bf8449b8b4
git: use newer template syntax everywhere
2009-05-15 10:46:39 +02:00
Martin Geisler
49d93faf0c
changelog: removed bad default arguments in add method
...
The arguments defaulted to None, but
- user cannot be None since it is immediately stripped.
- p1 and p2 cannot be None since they are passed directly to
revlog.addrevision, where they are mandatory.
2009-05-15 00:55:14 +02:00
Martin Geisler
aed75cf65f
util: import random, missing since 5c703a28d882
2009-05-14 22:59:12 +02:00
Sune Foldager
adc90b2605
posixfile: remove posixfile_nt and fix import bug in windows.py
...
The posixfile_nt class has been superseded by posixfile in osutils.c,
which works on Windows NT and above. All other systems get the regular
python file class which is assigned to posixfile in posix.py (for POSIX)
and in the pure python version of osutils.py (for Win 9x or Windows NT
in pure mode).
2009-05-13 21:36:16 +02:00
Bryan O'Sullivan
496cd5e84c
util: make atomictempfile saner if mktempcopy fails
2009-05-14 14:12:32 -07:00
Martin Geisler
2cd0933d15
merged with crew-stable
2009-05-14 23:05:16 +02:00
Brett Carter
d69cd3912f
clone: try updating to the actual changeset specified in options
...
When cloning with the -r option or # url format from a tag the destination
repo most likely won't have the tag. We can save the lookup result to get to
the correct parent anyway. Similar to issue1306, but for tags.
2009-05-14 22:00:56 +02:00
Matt Mackall
1317ac7a01
commit: hoist the rest of the dirstate manipulation out of commitctx
2009-05-14 13:24:39 -05:00
Matt Mackall
c2aadfc41a
commit: hoist up dirstate invalidate
2009-05-14 13:24:39 -05:00
Matt Mackall
a8b0644dec
commitctx: use contexts more fully
2009-05-14 13:24:26 -05:00
Matt Mackall
188df2eaa9
context: add new manifestnode method
2009-05-14 13:21:20 -05:00
Matt Mackall
3a18f346a9
commitctx: eliminate some variables
2009-05-14 13:21:20 -05:00
Matt Mackall
38ebdc6dd1
commit: move lots of commitctx outside of the repo lock
2009-05-14 13:21:20 -05:00
Matt Mackall
a9fbdd49f0
commit: combine _commitctx and commitctx, drop unused force argument
2009-05-14 13:21:20 -05:00
Matt Mackall
5534a9c3e3
editor: move HG: filtering from ui to commiteditor
2009-05-14 13:21:17 -05:00
Matt Mackall
2e4dd0c345
grep: make cache LRU rather than unlimited
...
grep could cache an unbounded number of revlogs, limit to 20 with an
LRU cache.
2009-05-14 13:20:40 -05:00
Matt Mackall
ebe3b0ebc3
commit: move commit editor to cmdutil, pass as function
2009-05-14 13:20:40 -05:00
Matt Mackall
9a5dcd2974
context: add p1 and p2 methods
2009-05-14 13:20:40 -05:00
Matt Mackall
ad33c59077
commit: push repo lock down into _commitctx
2009-05-14 13:20:40 -05:00
Matt Mackall
580ab4b4ab
commit: move 'nothing changed' test into commit()
2009-05-14 13:20:40 -05:00
Matt Mackall
771b18c870
commit: drop unused p1 and p2 args
2009-05-14 13:20:40 -05:00
Matt Mackall
d229f38315
tag: drop unused use_dirstate and parent from _tag()
2009-05-14 13:20:40 -05:00
Matt Mackall
49e6e0b6c0
filecommit: swallow some bits from _commitctx, add _
2009-05-14 13:20:40 -05:00
Matt Mackall
e77584d5e2
commitctx: replace wctx with ctx
2009-05-14 13:20:40 -05:00
Matt Mackall
32a69c4899
commitctx: replace two dirstate vars with working
2009-05-14 13:20:40 -05:00
Matt Mackall
f0bc29419d
commitctx: simplify locking
...
(spotted by Simon Heimberg)
2009-05-14 13:20:40 -05:00
Matt Mackall
fa65ae0679
remove deprecated rawcommit
2009-05-14 13:20:40 -05:00
Matt Mackall
06f4d7f9fa
patch: copy copies dict before changing it (issue1651)
2009-05-14 13:20:40 -05:00
Matt Mackall
cf4b3136aa
status: check cmp list in order
2009-05-14 13:20:40 -05:00
Peter Arrenbrecht
35e8011b63
verify: detect manifest revs not in any changeset
2009-05-14 16:22:49 +02:00
Peter Arrenbrecht
87bb32e582
localrepo: use more direct vars in addchangegroup
2009-05-14 16:11:45 +02:00
Peter Arrenbrecht
c9505be494
localrepo: use cl throughout in addchangegroup
2009-05-14 16:09:27 +02:00
Peter Arrenbrecht
5851b0b382
revlog: slightly tune group() by not going rev->node->rev
2009-05-14 16:00:21 +02:00
Peter Arrenbrecht
a75765cf7f
drop unused imports
2009-05-14 15:35:46 +02:00
Peter Arrenbrecht
3d9bf2f616
indentation cleanup
2009-05-14 15:24:36 +02:00
Martin Geisler
2dec1cac72
test-debugcomplete: add --show merge option to output
2009-05-14 17:28:26 +02:00
Dirkjan Ochtman
2f19dcd8ee
merge: add -S/--show option to review revisions without merging
2009-05-14 16:03:17 +02:00
Nicolas Dumazet
e3d71f714c
inotify: Abstract the layer format and sizes to a inotify.common dictionary
...
Instead of having a single possible request format, introduce a dictionary
of possible messages in inotify.common
2009-05-14 15:48:47 +02:00
Nicolas Dumazet
b8d0dc416a
inotify: Coding Style: name classes in lowercase.
2009-05-11 08:19:28 +09:00
Nicolas Dumazet
5be26b4e65
inotify: dic.setdefault(k, d) ; v = dic[k] --> v = dic.setdefault(k, d)
...
dict.setdefault sets a default value, but also returns the dict.get result.
Getting the value on the next instruction was redundant.
2009-05-08 16:28:52 +09:00
Nicolas Dumazet
b4d001671b
inotify: make mask a class variable since it's instance-independant
2009-05-08 16:40:39 +09:00
Nicolas Dumazet
88ad7f57b8
inotify: RepoWatcher.updatestatus: document & use meaningful parameter names
2009-05-08 17:45:01 +09:00