annotate tests/test-hgcia @ 11223:0d09f2244805
rename: make --after work if source is already in R state
I routinely want to use `hg addrem` and then fix up missed renames
manually using `hg mv -A`. This patch allows me to record such
renames from a source in state R to a target in state A.
author |
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
date |
Wed, 26 May 2010 16:16:47 +0200 |
parents |
b80b944836ec |
children |
|
rev |
line source |
7438
|
1 #!/bin/sh
|
|
2
|
|
3 cat >> $HGRCPATH <<EOF
|
|
4 [extensions]
|
|
5 hgcia=
|
|
6
|
|
7 [hooks]
|
|
8 changegroup.cia = python:hgext.hgcia.hook
|
|
9
|
|
10 [cia]
|
|
11 user = testuser
|
|
12 project = testproject
|
|
13 test = True
|
|
14 EOF
|
|
15
|
|
16 hg init src
|
|
17 hg init cia
|
|
18
|
|
19 cd src
|
|
20 echo foo > foo
|
|
21 hg ci -Amfoo
|
|
22
|
|
23 hg push ../cia
|