Giorgos Keramidas
cbaa061404
tests: new test for hg diff of a subdirectory only
2006-08-13 23:00:18 +03:00
Giorgos Keramidas
766ec3ae08
Make clear that hg pull -r REV pulls "up to" a revision.
...
The existing message was a bit confusing, making the reader
believe that only the specific revision is pulled.
2006-08-13 18:35:24 +03:00
Giorgos Keramidas
95ed16f229
Use cached hg-root-dir instead of rediscovering
...
by a second call to (hg-root). We have the path
we need already as the value of hg-root-dir.
2006-08-13 20:21:13 +03:00
Giorgos Keramidas
95e3cba367
hgweb: repo.changes() is now called repo.status()
2006-08-13 18:01:44 +03:00
Vadim Gelfer
80d6f2f7c7
remove localrepository.changes.
...
use localrepository.status instead.
2006-08-12 16:40:12 -07:00
Vadim Gelfer
13d751feaf
refactor text diff/patch code.
...
rename commands.dodiff to patch.diff.
rename commands.doexport to patch.export.
move some functions from commands to new mercurial.cmdutil module.
turn list of diff options into mdiff.diffopts class.
patch.diff and patch.export now has clean api for call from 3rd party
python code.
2006-08-12 16:13:27 -07:00
Vadim Gelfer
12c9f17ffe
merge.
2006-08-12 16:05:09 -07:00
Vadim Gelfer
7670c341e7
manifest.execf is now a function.
2006-08-12 16:04:49 -07:00
Vadim Gelfer
00af865078
merge.
2006-08-12 15:43:38 -07:00
Vadim Gelfer
57aab63e91
util: qualify name properly.
2006-08-12 15:41:26 -07:00
Brendan Cully
3d708cb539
grep: add --follow support.
2006-08-12 15:01:46 -07:00
Vadim Gelfer
94b6c7e074
mq: demandload more
2006-08-12 14:15:23 -07:00
Brendan Cully
3b28d277f1
grep: display correct user/revision for --all in reverse.
...
Also handle multiple occurrences of the same line by storing
linestates in an array instead of a dict, and using difflib
to compute the difference between linestates.
2006-08-12 13:51:14 -07:00
Vadim Gelfer
beb26e5257
commands.import: refactor patch parsing into patch.extract.
2006-08-12 13:16:48 -07:00
Vadim Gelfer
2eab8e108e
merge git patch code.
2006-08-12 12:47:18 -07:00
Vadim Gelfer
dc377b58c1
update copyrights.
2006-08-12 12:30:02 -07:00
Vadim Gelfer
d9b62ad587
merge.
2006-08-12 12:12:23 -07:00
Alexis S. L. Carvalho
219803f060
Fix some bugs introduced during the manifest refactoring
2006-08-12 08:53:23 -03:00
Alexis S. L. Carvalho
27e6e90b97
Fix "hg qnew -f foo" without -m
...
The refresh method assumes it has a string.
2006-08-12 09:24:04 -03:00
Vadim Gelfer
ea424c45c0
merge with mpm.
2006-08-12 11:53:12 -07:00
Brendan Cully
8ebc2ba929
Tests for git import
2006-08-11 16:56:31 -07:00
Brendan Cully
81f4208ee0
Remove debugging line
2006-08-11 16:55:48 -07:00
Brendan Cully
140c2e7776
Fix bad merge with crew
2006-08-11 16:30:24 -07:00
Brendan Cully
4f1b3a83bb
Move patch-related code into its own module.
2006-08-11 15:50:16 -07:00
Brendan Cully
7601c19932
Teach import to understand git diff extensions.
...
Vanilla patch chokes on git patches that include files that are copied
or renamed, then modified. So this code detects that case and rewrites
the patch if necessary.
2006-08-11 15:50:07 -07:00
Vadim Gelfer
f878066622
import: get lock and wlock one time
...
this makes import of many patches 6x faster in kernel repo.
2006-08-11 14:50:41 -07:00
Matt Mackall
5c0d170547
Remove manifest.readflags
2006-08-11 11:00:38 -05:00
Matt Mackall
44b96c96eb
Change remaining users of manifest flags
2006-08-11 10:57:42 -05:00
Thomas Arendsen Hein
8d8bec1f32
Adjusted documentation for hgrc's "[smtp] host" for change in e579f762cc2a.
2006-08-11 09:11:54 +02:00
Matt Mackall
756da188ad
Switch to simpler manifestdict
2006-08-10 22:38:56 -05:00
Vadim Gelfer
c21702b07b
fix test output
2006-08-10 17:37:57 -07:00
Vadim Gelfer
a1eb2e0ec1
mq: only add mq attribute to local repo
2006-08-10 17:33:08 -07:00
Vadim Gelfer
cefae5007c
mq: apply patch is any posative guard matches
...
this is like guards command from quilt package.
2006-08-10 17:18:55 -07:00
Vadim Gelfer
bfa688e22b
fetch: fix test fail
2006-08-10 17:02:11 -07:00
Vadim Gelfer
375ed90afa
mq: do not allow to push from repo with patches applied
2006-08-10 16:10:59 -07:00
Vadim Gelfer
5a39b6dc91
call reposetup functions of extension modules whenever repo created
2006-08-10 15:44:05 -07:00
Vadim Gelfer
4bb52754b3
mq: test commit in repo with patches applied
2006-08-10 15:02:18 -07:00
Brendan Cully
00705b2507
Disallow commit over an applied mq patch.
2006-08-10 11:18:48 -07:00
Vadim Gelfer
65c989bccf
qselect: add --pop, --reapply options
2006-08-10 14:58:10 -07:00
Matt Mackall
c676e5167a
Merge: use single objects for tracking manifests
2006-08-09 22:07:13 -05:00
Matt Mackall
f048c758d8
Merge: save away mode bit so that we don't need manifest later
2006-08-09 17:11:01 -05:00
Matt Mackall
7c0506a4f5
Merge manifest refactor work
2006-08-09 15:03:46 -05:00
Matt Mackall
de8f408ebb
Combine manifest dict and flags dict into a single object
...
This gets rid of the need to track two objects and might save memory.
This might be faster implemented as a subclassed dict with auxiliary
functions to access a sparse flags dict.
2006-08-09 14:53:03 -05:00
Danek Duvall
9c364cbd6e
Fix some tests for portability.
2006-08-09 12:05:40 -07:00
Matt Mackall
76c5adea2f
Merge with crew, fix most tests
2006-08-09 13:55:18 -05:00
Vadim Gelfer
626fbfdeed
mq: make guards more strict, add tests
2006-08-09 09:38:11 -07:00
Vadim Gelfer
594d062505
mq: drop qversion command
2006-08-08 17:11:36 -07:00
Vadim Gelfer
b365694c04
fetch: hold lock and wlock across all operations
2006-08-08 17:08:59 -07:00
Vadim Gelfer
3a361df8d7
tests: forgot to add test-mq-guards.out
2006-08-09 02:04:49 -07:00
Vadim Gelfer
fa92533acd
fetch: lock repo across pull and commit
2006-08-08 16:40:08 -07:00