annotate tests/test-mq-header-date.t @ 14377:f90d5641c78b

clone: make default path absolute for all local paths This fixes the default path when cloning local repositories with hg-git, since hg-git cancopy() is false even for local repositories.
author Brendan Cully <brendan@kublai.com>
date Wed, 18 May 2011 23:20:26 -0700
parents 4a86b30de425
children 2da47de36b6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5788
4107e823dc2c mq: add --currentdate and --date options to qnew and qrefresh
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
1
12461
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
2 $ echo "[extensions]" >> $HGRCPATH
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
3 $ echo "mq=" >> $HGRCPATH
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
4 $ echo "[diff]" >> $HGRCPATH
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
5 $ echo "nodates=true" >> $HGRCPATH
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
6 $ catpatch() {
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
7 > cat .hg/patches/$1.patch | sed -e "s/^diff \-r [0-9a-f]* /diff -r ... /" \
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
8 > -e "s/^\(# Parent \).*/\1/"
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
9 > }
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
10 $ catlog() {
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
11 > catpatch $1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
12 > hg log --template "{rev}: {desc} - {author}\n"
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
13 > }
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
14 $ catlogd() {
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
15 > catpatch $1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
16 > hg log --template "{rev}: {desc} - {author} - {date}\n"
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
17 > }
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
18 $ drop() {
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
19 > hg qpop
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
20 > hg qdel $1.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
21 > }
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
22 $ runtest() {
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
23 > echo ==== init
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
24 > hg init a
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
25 > cd a
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
26 > hg qinit
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
27 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
28 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
29 > echo ==== qnew -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
30 > hg qnew -d '3 0' 1.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
31 > catlogd 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
32 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
33 > echo ==== qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
34 > echo "1" >1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
35 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
36 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
37 > catlogd 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
38 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
39 > echo ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
40 > hg qref -d '4 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
41 > catlogd 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
42 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
43 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
44 > echo ==== qnew
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
45 > hg qnew 2.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
46 > echo "2" >2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
47 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
48 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
49 > catlog 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
50 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
51 > echo ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
52 > hg qref -d '5 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
53 > catlog 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
54 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
55 > drop 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
56 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
57 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
58 > echo ==== qnew -d -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
59 > hg qnew -d '6 0' -m "Three" 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
60 > catlogd 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
61 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
62 > echo ==== qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
63 > echo "3" >3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
64 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
65 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
66 > catlogd 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
67 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
68 > echo ==== qref -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
69 > hg qref -m "Drei"
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
70 > catlogd 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
71 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
72 > echo ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
73 > hg qref -d '7 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
74 > catlogd 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
75 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
76 > echo ==== qref -d -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
77 > hg qref -d '8 0' -m "Three (again)"
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
78 > catlogd 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
79 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
80 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
81 > echo ==== qnew -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
82 > hg qnew -m "Four" 4.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
83 > echo "4" >4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
84 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
85 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
86 > catlog 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
87 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
88 > echo ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
89 > hg qref -d '9 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
90 > catlog 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
91 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
92 > drop 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
93 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
94 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
95 > echo ==== qnew with HG header
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
96 > hg qnew --config 'mq.plain=true' 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
97 > hg qpop
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
98 > echo "# HG changeset patch" >>.hg/patches/5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
99 > echo "# Date 10 0" >>.hg/patches/5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
100 > hg qpush 2>&1 | grep 'Now at'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
101 > catlogd 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
102 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
103 > echo ==== hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
104 > echo "5" >5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
105 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
106 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
107 > catlogd 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
108 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
109 > echo ==== hg qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
110 > hg qref -d '11 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
111 > catlogd 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
112 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
113 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
114 > echo ==== qnew with plain header
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
115 > hg qnew --config 'mq.plain=true' -d '12 0' 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
116 > hg qpop
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
117 > hg qpush 2>&1 | grep 'now at'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
118 > catlog 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
119 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
120 > echo ==== hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
121 > echo "6" >6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
122 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
123 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
124 > catlogd 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
125 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
126 > echo ==== hg qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
127 > hg qref -d '13 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
128 > catlogd 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
129 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
130 > drop 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
131 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
132 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
133 > echo ==== qnew -u
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
134 > hg qnew -u jane 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
135 > echo "6" >6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
136 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
137 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
138 > catlog 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
139 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
140 > echo ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
141 > hg qref -d '12 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
142 > catlog 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
143 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
144 > drop 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
145 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
146 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
147 > echo ==== qnew -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
148 > hg qnew -d '13 0' 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
149 > echo "7" >7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
150 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
151 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
152 > catlog 7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
153 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
154 > echo ==== qref -u
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
155 > hg qref -u john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
156 > catlogd 7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
157 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
158 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
159 > echo ==== qnew
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
160 > hg qnew 8.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
161 > echo "8" >8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
162 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
163 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
164 > catlog 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
165 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
166 > echo ==== qref -u -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
167 > hg qref -u john -d '14 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
168 > catlog 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
169 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
170 > drop 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
171 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
172 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
173 > echo ==== qnew -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
174 > hg qnew -m "Nine" 9.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
175 > echo "9" >9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
176 > hg add
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
177 > hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
178 > catlog 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
179 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
180 > echo ==== qref -u -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
181 > hg qref -u john -d '15 0'
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
182 > catlog 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
183 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
184 > drop 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
185 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
186 >
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
187 > echo ==== "qpop -a / qpush -a"
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
188 > hg qpop -a
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
189 > hg qpush -a
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
190 > hg log --template "{rev}: {desc} - {author} - {date}\n"
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
191 > }
5788
4107e823dc2c mq: add --currentdate and --date options to qnew and qrefresh
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
192
12461
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
193 ======= plain headers
5788
4107e823dc2c mq: add --currentdate and --date options to qnew and qrefresh
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
194
12461
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
195 $ echo "[mq]" >> $HGRCPATH
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
196 $ echo "plain=true" >> $HGRCPATH
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
197 $ mkdir sandbox
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
198 $ (cd sandbox ; runtest)
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
199 ==== init
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
200 ==== qnew -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
201 Date: 3 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
202
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
203 0: [mq]: 1.patch - test - 3.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
204 ==== qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
205 adding 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
206 Date: 3 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
207
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
208 diff -r ... 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
209 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
210 +++ b/1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
211 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
212 +1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
213 0: [mq]: 1.patch - test - 3.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
214 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
215 Date: 4 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
216
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
217 diff -r ... 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
218 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
219 +++ b/1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
220 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
221 +1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
222 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
223 ==== qnew
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
224 adding 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
225 diff -r ... 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
226 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
227 +++ b/2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
228 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
229 +2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
230 1: [mq]: 2.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
231 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
232 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
233 Date: 5 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
234
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
235 diff -r ... 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
236 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
237 +++ b/2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
238 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
239 +2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
240 1: [mq]: 2.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
241 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
242 popping 2.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
243 now at: 1.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
244 ==== qnew -d -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
245 Date: 6 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
246
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
247 Three
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
248
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
249 1: Three - test - 6.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
250 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
251 ==== qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
252 adding 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
253 Date: 6 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
254
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
255 Three
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
256
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
257 diff -r ... 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
258 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
259 +++ b/3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
260 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
261 +3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
262 1: Three - test - 6.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
263 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
264 ==== qref -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
265 Date: 6 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
266
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
267 Drei
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
268
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
269 diff -r ... 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
270 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
271 +++ b/3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
272 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
273 +3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
274 1: Drei - test - 6.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
275 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
276 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
277 Date: 7 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
278
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
279 Drei
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
280
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
281 diff -r ... 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
282 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
283 +++ b/3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
284 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
285 +3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
286 1: Drei - test - 7.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
287 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
288 ==== qref -d -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
289 Date: 8 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
290
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
291 Three (again)
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
292
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
293 diff -r ... 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
294 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
295 +++ b/3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
296 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
297 +3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
298 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
299 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
300 ==== qnew -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
301 adding 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
302 Four
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
303
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
304 diff -r ... 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
305 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
306 +++ b/4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
307 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
308 +4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
309 2: Four - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
310 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
311 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
312 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
313 Date: 9 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
314 Four
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
315
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
316 diff -r ... 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
317 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
318 +++ b/4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
319 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
320 +4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
321 2: Four - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
322 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
323 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
324 popping 4.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
325 now at: 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
326 ==== qnew with HG header
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
327 popping 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
328 now at: 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
329 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
330 # Date 10 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
331 2: imported patch 5.patch - test - 10.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
332 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
333 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
334 ==== hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
335 adding 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
336 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
337 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
338 # Date 10 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
339
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
340 diff -r ... 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
341 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
342 +++ b/5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
343 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
344 +5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
345 2: [mq]: 5.patch - test - 10.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
346 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
347 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
348 ==== hg qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
349 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
350 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
351 # Date 11 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
352
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
353 diff -r ... 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
354 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
355 +++ b/5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
356 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
357 +5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
358 2: [mq]: 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
359 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
360 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
361 ==== qnew with plain header
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
362 popping 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
363 now at: 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
364 now at: 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
365 Date: 12 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
366
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
367 3: imported patch 6.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
368 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
369 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
370 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
371 ==== hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
372 adding 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
373 Date: 12 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
374
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
375 diff -r ... 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
376 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
377 +++ b/6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
378 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
379 +6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
380 3: [mq]: 6.patch - test - 12.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
381 2: [mq]: 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
382 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
383 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
384 ==== hg qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
385 Date: 13 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
386
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
387 diff -r ... 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
388 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
389 +++ b/6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
390 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
391 +6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
392 3: [mq]: 6.patch - test - 13.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
393 2: [mq]: 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
394 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
395 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
396 popping 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
397 now at: 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
398 ==== qnew -u
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
399 adding 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
400 From: jane
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
401
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
402 diff -r ... 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
403 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
404 +++ b/6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
405 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
406 +6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
407 3: [mq]: 6.patch - jane
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
408 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
409 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
410 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
411 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
412 Date: 12 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
413 From: jane
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
414
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
415 diff -r ... 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
416 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
417 +++ b/6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
418 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
419 +6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
420 3: [mq]: 6.patch - jane
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
421 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
422 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
423 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
424 popping 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
425 now at: 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
426 ==== qnew -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
427 adding 7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
428 Date: 13 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
429
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
430 diff -r ... 7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
431 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
432 +++ b/7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
433 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
434 +7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
435 3: [mq]: 7.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
436 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
437 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
438 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
439 ==== qref -u
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
440 From: john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
441 Date: 13 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
442
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
443 diff -r ... 7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
444 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
445 +++ b/7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
446 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
447 +7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
448 3: [mq]: 7.patch - john - 13.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
449 2: [mq]: 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
450 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
451 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
452 ==== qnew
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
453 adding 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
454 diff -r ... 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
455 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
456 +++ b/8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
457 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
458 +8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
459 4: [mq]: 8.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
460 3: [mq]: 7.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
461 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
462 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
463 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
464 ==== qref -u -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
465 Date: 14 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
466 From: john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
467
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
468 diff -r ... 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
469 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
470 +++ b/8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
471 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
472 +8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
473 4: [mq]: 8.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
474 3: [mq]: 7.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
475 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
476 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
477 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
478 popping 8.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
479 now at: 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
480 ==== qnew -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
481 adding 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
482 Nine
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
483
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
484 diff -r ... 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
485 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
486 +++ b/9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
487 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
488 +9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
489 4: Nine - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
490 3: [mq]: 7.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
491 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
492 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
493 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
494 ==== qref -u -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
495 Date: 15 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
496 From: john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
497 Nine
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
498
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
499 diff -r ... 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
500 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
501 +++ b/9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
502 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
503 +9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
504 4: Nine - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
505 3: [mq]: 7.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
506 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
507 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
508 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
509 popping 9.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
510 now at: 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
511 ==== qpop -a / qpush -a
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
512 popping 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
513 popping 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
514 popping 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
515 popping 1.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
516 patch queue now empty
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
517 applying 1.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
518 applying 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
519 applying 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
520 applying 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
521 now at: 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
522 3: imported patch 7.patch - john - 13.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
523 2: imported patch 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
524 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
525 0: imported patch 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
526 $ rm -r sandbox
10397
8cb81d75730c mq: add parent node IDs to MQ patches on qrefresh/qnew
Steve Losh <steve@stevelosh.com>
parents: 5822
diff changeset
527
12461
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
528 ======= hg headers
5788
4107e823dc2c mq: add --currentdate and --date options to qnew and qrefresh
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
529
12461
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
530 $ echo "plain=false" >> $HGRCPATH
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
531 $ mkdir sandbox
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
532 $ (cd sandbox ; runtest)
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
533 ==== init
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
534 ==== qnew -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
535 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
536 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
537 # Date 3 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
538
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
539 0: [mq]: 1.patch - test - 3.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
540 ==== qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
541 adding 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
542 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
543 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
544 # Date 3 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
545
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
546 diff -r ... 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
547 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
548 +++ b/1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
549 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
550 +1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
551 0: [mq]: 1.patch - test - 3.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
552 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
553 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
554 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
555 # Date 4 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
556
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
557 diff -r ... 1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
558 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
559 +++ b/1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
560 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
561 +1
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
562 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
563 ==== qnew
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
564 adding 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
565 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
566 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
567
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
568 diff -r ... 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
569 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
570 +++ b/2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
571 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
572 +2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
573 1: [mq]: 2.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
574 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
575 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
576 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
577 # Date 5 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
578 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
579
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
580 diff -r ... 2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
581 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
582 +++ b/2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
583 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
584 +2
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
585 1: [mq]: 2.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
586 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
587 popping 2.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
588 now at: 1.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
589 ==== qnew -d -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
590 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
591 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
592 # Date 6 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
593
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
594 Three
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
595
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
596 1: Three - test - 6.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
597 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
598 ==== qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
599 adding 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
600 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
601 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
602 # Date 6 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
603
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
604 Three
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
605
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
606 diff -r ... 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
607 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
608 +++ b/3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
609 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
610 +3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
611 1: Three - test - 6.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
612 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
613 ==== qref -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
614 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
615 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
616 # Date 6 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
617
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
618 Drei
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
619
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
620 diff -r ... 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
621 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
622 +++ b/3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
623 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
624 +3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
625 1: Drei - test - 6.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
626 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
627 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
628 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
629 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
630 # Date 7 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
631
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
632 Drei
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
633
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
634 diff -r ... 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
635 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
636 +++ b/3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
637 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
638 +3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
639 1: Drei - test - 7.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
640 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
641 ==== qref -d -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
642 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
643 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
644 # Date 8 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
645
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
646 Three (again)
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
647
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
648 diff -r ... 3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
649 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
650 +++ b/3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
651 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
652 +3
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
653 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
654 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
655 ==== qnew -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
656 adding 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
657 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
658 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
659 Four
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
660
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
661 diff -r ... 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
662 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
663 +++ b/4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
664 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
665 +4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
666 2: Four - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
667 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
668 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
669 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
670 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
671 # Date 9 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
672 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
673 Four
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
674
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
675 diff -r ... 4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
676 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
677 +++ b/4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
678 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
679 +4
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
680 2: Four - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
681 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
682 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
683 popping 4.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
684 now at: 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
685 ==== qnew with HG header
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
686 popping 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
687 now at: 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
688 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
689 # Date 10 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
690 2: imported patch 5.patch - test - 10.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
691 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
692 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
693 ==== hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
694 adding 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
695 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
696 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
697 # Date 10 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
698
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
699 diff -r ... 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
700 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
701 +++ b/5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
702 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
703 +5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
704 2: [mq]: 5.patch - test - 10.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
705 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
706 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
707 ==== hg qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
708 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
709 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
710 # Date 11 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
711
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
712 diff -r ... 5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
713 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
714 +++ b/5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
715 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
716 +5
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
717 2: [mq]: 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
718 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
719 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
720 ==== qnew with plain header
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
721 popping 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
722 now at: 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
723 now at: 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
724 Date: 12 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
725
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
726 3: imported patch 6.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
727 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
728 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
729 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
730 ==== hg qref
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
731 adding 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
732 Date: 12 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
733
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
734 diff -r ... 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
735 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
736 +++ b/6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
737 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
738 +6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
739 3: [mq]: 6.patch - test - 12.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
740 2: [mq]: 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
741 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
742 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
743 ==== hg qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
744 Date: 13 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
745
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
746 diff -r ... 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
747 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
748 +++ b/6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
749 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
750 +6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
751 3: [mq]: 6.patch - test - 13.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
752 2: [mq]: 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
753 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
754 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
755 popping 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
756 now at: 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
757 ==== qnew -u
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
758 adding 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
759 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
760 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
761 # User jane
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
762
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
763 diff -r ... 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
764 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
765 +++ b/6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
766 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
767 +6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
768 3: [mq]: 6.patch - jane
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
769 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
770 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
771 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
772 ==== qref -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
773 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
774 # Date 12 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
775 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
776 # User jane
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
777
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
778 diff -r ... 6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
779 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
780 +++ b/6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
781 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
782 +6
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
783 3: [mq]: 6.patch - jane
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
784 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
785 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
786 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
787 popping 6.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
788 now at: 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
789 ==== qnew -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
790 adding 7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
791 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
792 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
793 # Date 13 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
794
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
795 diff -r ... 7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
796 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
797 +++ b/7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
798 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
799 +7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
800 3: [mq]: 7.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
801 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
802 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
803 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
804 ==== qref -u
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
805 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
806 # User john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
807 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
808 # Date 13 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
809
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
810 diff -r ... 7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
811 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
812 +++ b/7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
813 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
814 +7
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
815 3: [mq]: 7.patch - john - 13.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
816 2: [mq]: 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
817 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
818 0: [mq]: 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
819 ==== qnew
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
820 adding 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
821 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
822 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
823
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
824 diff -r ... 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
825 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
826 +++ b/8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
827 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
828 +8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
829 4: [mq]: 8.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
830 3: [mq]: 7.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
831 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
832 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
833 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
834 ==== qref -u -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
835 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
836 # Date 14 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
837 # User john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
838 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
839
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
840 diff -r ... 8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
841 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
842 +++ b/8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
843 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
844 +8
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
845 4: [mq]: 8.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
846 3: [mq]: 7.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
847 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
848 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
849 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
850 popping 8.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
851 now at: 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
852 ==== qnew -m
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
853 adding 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
854 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
855 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
856 Nine
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
857
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
858 diff -r ... 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
859 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
860 +++ b/9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
861 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
862 +9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
863 4: Nine - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
864 3: [mq]: 7.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
865 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
866 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
867 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
868 ==== qref -u -d
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
869 # HG changeset patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
870 # Date 15 0
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
871 # User john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
872 # Parent
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
873 Nine
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
874
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
875 diff -r ... 9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
876 --- /dev/null
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
877 +++ b/9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
878 @@ -0,0 +1,1 @@
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
879 +9
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
880 4: Nine - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
881 3: [mq]: 7.patch - john
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
882 2: [mq]: 5.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
883 1: Three (again) - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
884 0: [mq]: 1.patch - test
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
885 popping 9.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
886 now at: 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
887 ==== qpop -a / qpush -a
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
888 popping 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
889 popping 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
890 popping 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
891 popping 1.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
892 patch queue now empty
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
893 applying 1.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
894 applying 3.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
895 applying 5.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
896 applying 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
897 now at: 7.patch
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
898 3: imported patch 7.patch - john - 13.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
899 2: imported patch 5.patch - test - 11.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
900 1: Three (again) - test - 8.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
901 0: imported patch 1.patch - test - 4.00
4a86b30de425 tests: unify test-mq-header-date
Matt Mackall <mpm@selenic.com>
parents: 10397
diff changeset
902 $ rm -r sandbox