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
Vadim Gelfer
03412632fc
fetch: drop commands.doupdate
2006-08-08 16:37:41 -07:00
Vadim Gelfer
e946d15d30
test-fetch: make output stable
2006-08-08 16:23:02 -07:00
Vadim Gelfer
9b3aa8dfc1
fetch: fix breakage from mpm.
...
add test so will not break again.
2006-08-08 16:09:26 -07:00
Vadim Gelfer
3ea890331f
mq: new commands qselect, qguard
...
implement quilt-style guards for mq.
guards allow to control whether patch can be pushed.
if guard X is active and patch is guarded by +X (called "posative guard"),
patch can be pushed. if patch is guarded by -X (called "nagative guard"),
patch cannot be pushed and is skipped.
use qguard to set/list guards on patches. use qselect to set/list
active guards.
also "qseries -v" prints guarded patches with "G" now.
2006-08-08 21:42:50 -07:00
Vadim Gelfer
f2173a1253
fix permission of test-mq-qsave
2006-08-08 18:14:03 -07:00
Vadim Gelfer
07b40a89d5
mq: add join method
2006-08-08 18:12:48 -07:00
Matt Mackall
55b6f733d9
Merge: combine force and forcemerge arguments
2006-08-08 10:56:48 -05:00
Matt Mackall
94db72708b
Merge: move most tests to the beginning
2006-08-08 10:35:19 -05:00
Matt Mackall
f8ef0497f7
Merge: refactor err and failedmerge -> unresolved
2006-08-08 09:26:00 -05:00
Matt Mackall
0b0ee1ba50
Refactor update locking slightly
2006-08-08 09:19:20 -05:00
Matt Mackall
60a6e68764
Merge: combine choose and moddirstate to partial
2006-08-08 09:11:16 -05:00
Matt Mackall
26928ff9de
Rename merge.allow -> merge.branchmerge
2006-08-07 23:53:04 -05:00
Matt Mackall
ba80b068a7
Use demandload @ syntax
2006-08-07 23:18:16 -05:00
Matt Mackall
de047b03ce
Introduce update helper functions: update, merge, clean, and revert
2006-08-07 22:54:33 -05:00
Matt Mackall
11be1c8966
Teach demandload how to import as
2006-08-07 22:35:36 -05:00
Matt Mackall
48de6fd596
Factor doupdate into _lookup + hg.update
2006-08-07 20:54:03 -05:00
Matt Mackall
5d20f724f3
Fix extensions for merge change
2006-08-07 17:26:09 -05:00
Brendan Cully
4d9ff1b476
Make mq camelcase consistent with the rest of hg.
2006-08-07 14:59:32 -07:00
Brendan Cully
e4b5636d59
Add basic qsave/qrestore test.
2006-08-07 14:48:24 -07:00
Brendan Cully
17df733f51
Update qsave to use StatusEntry; don't throw exception on bad status lines.
2006-08-07 14:48:18 -07:00
Brendan Cully
8601c3c0fc
Update mq to use new logmessage arglist from 2794:7eff50864c5c
2006-08-07 14:12:03 -07:00
Matt Mackall
3dcc28a29a
Merge with crew
2006-08-07 16:47:06 -05:00
Vadim Gelfer
f653b6c12f
fetch: add missing import.
2006-08-07 19:08:55 -07:00
Vadim Gelfer
4068ec9129
fetch: do not fetch if working dir modified
2006-08-07 17:33:14 -07:00
Vadim Gelfer
d90021dfb5
new extension: fetch -> combine pull and merge/update
...
pull changes from remote repo.
if changes add new head: merge with new head, commit result.
else: update working dir to new head.
this makes useful command like git 'pull' command.
2006-08-07 17:27:38 -07:00
Vadim Gelfer
5e57b38568
commands.logmessage: simplify calling.
2006-08-07 17:23:04 -07:00
Vadim Gelfer
dc56cac613
localrepo.update: allow to suppress commit reminder.
2006-08-07 17:22:17 -07:00
Matt Mackall
d5009b5b05
Move repo.verify
2006-08-07 16:27:09 -05:00
Benoit Boissinot
1c4f02dea9
mq: unused variables, improper usage of 'is [not]', undefined variable
2006-08-06 17:27:05 +02:00
Benoit Boissinot
6f5cfdaee1
mq: codingstyle
2006-08-06 17:24:13 +02:00