##// END OF EJS Templates
tests: reintroduce globs in test-convert-authormap.t...
Mads Kiilerich -
r16948:a0cbbf78 default
parent child Browse files
Show More
@@ -1,58 +1,58 b''
1 1
2 2 $ cat >> $HGRCPATH <<EOF
3 3 > [extensions]
4 4 > convert=
5 5 > EOF
6 6
7 7 Prepare orig repo
8 8
9 9 $ hg init orig
10 10 $ cd orig
11 11 $ echo foo > foo
12 12 $ HGUSER='user name' hg ci -qAm 'foo'
13 13 $ cd ..
14 14
15 15 Explicit --authors
16 16
17 17 $ cat > authormap.txt <<EOF
18 18 > user name = Long User Name
19 19 >
20 20 > # comment
21 21 > this line is ignored
22 22 > EOF
23 23 $ hg convert --authors authormap.txt orig new
24 24 initializing destination new repository
25 25 ignoring bad line in author map file authormap.txt: this line is ignored
26 26 scanning source...
27 27 sorting...
28 28 converting...
29 29 0 foo
30 writing author map file $TESTTMP/new/.hg/authormap
30 writing author map file $TESTTMP/new/.hg/authormap (glob)
31 31 $ cat new/.hg/authormap
32 32 user name=Long User Name
33 33 $ hg -Rnew log
34 34 changeset: 0:d89716e88087
35 35 tag: tip
36 36 user: Long User Name
37 37 date: Thu Jan 01 00:00:00 1970 +0000
38 38 summary: foo
39 39
40 40 $ rm -rf new
41 41
42 42 Implicit .hg/authormap
43 43
44 44 $ hg init new
45 45 $ mv authormap.txt new/.hg/authormap
46 46 $ hg convert orig new
47 ignoring bad line in author map file $TESTTMP/new/.hg/authormap: this line is ignored
47 ignoring bad line in author map file $TESTTMP/new/.hg/authormap: this line is ignored (glob)
48 48 scanning source...
49 49 sorting...
50 50 converting...
51 51 0 foo
52 52 $ hg -Rnew log
53 53 changeset: 0:d89716e88087
54 54 tag: tip
55 55 user: Long User Name
56 56 date: Thu Jan 01 00:00:00 1970 +0000
57 57 summary: foo
58 58
General Comments 0
You need to be logged in to leave comments. Login now