##// END OF EJS Templates
Merge with tah
Thomas Arendsen Hein -
r2991:f63667f6 merge default
parent child Browse files
Show More
@@ -403,17 +403,15 b' class changeset_printer(object):'
403 403 changes = log.read(changenode)
404 404 date = util.datestr(changes[2])
405 405
406 parents = [(log.rev(p), self.ui.verbose and hex(p) or short(p))
407 for p in log.parents(changenode)
406 hexfunc = self.ui.debugflag and hex or short
407
408 parents = [(log.rev(p), hexfunc(p)) for p in log.parents(changenode)
408 409 if self.ui.debugflag or p != nullid]
409 410 if (not self.ui.debugflag and len(parents) == 1 and
410 411 parents[0][0] == rev-1):
411 412 parents = []
412 413
413 if self.ui.verbose:
414 self.ui.write(_("changeset: %d:%s\n") % (rev, hex(changenode)))
415 else:
416 self.ui.write(_("changeset: %d:%s\n") % (rev, short(changenode)))
414 self.ui.write(_("changeset: %d:%s\n") % (rev, hexfunc(changenode)))
417 415
418 416 for tag in self.repo.nodetags(changenode):
419 417 self.ui.status(_("tag: %s\n") % tag)
@@ -1611,7 +1609,7 b' def identify(ui, repo):'
1611 1609 ui.write(_("unknown\n"))
1612 1610 return
1613 1611
1614 hexfunc = ui.verbose and hex or short
1612 hexfunc = ui.debugflag and hex or short
1615 1613 modified, added, removed, deleted = repo.status()[:4]
1616 1614 output = ["%s%s" %
1617 1615 ('+'.join([hexfunc(parent) for parent in parents]),
@@ -2601,17 +2599,20 b' def tag(ui, repo, name, rev_=None, **opt'
2601 2599 if opts['rev']:
2602 2600 rev_ = opts['rev']
2603 2601 if rev_:
2604 r = hex(repo.lookup(rev_))
2602 r = repo.lookup(rev_)
2605 2603 else:
2606 2604 p1, p2 = repo.dirstate.parents()
2607 2605 if p1 == nullid:
2608 2606 raise util.Abort(_('no revision to tag'))
2609 2607 if p2 != nullid:
2610 2608 raise util.Abort(_('outstanding uncommitted merges'))
2611 r = hex(p1)
2612
2613 repo.tag(name, r, opts['local'], opts['message'], opts['user'],
2614 opts['date'])
2609 r = p1
2610
2611 message = opts['message']
2612 if not message:
2613 message = _('Added tag %s for changeset %s') % (name, short(r))
2614
2615 repo.tag(name, r, message, opts['local'], opts['user'], opts['date'])
2615 2616
2616 2617 def tags(ui, repo):
2617 2618 """list repository tags
@@ -2623,9 +2624,10 b' def tags(ui, repo):'
2623 2624
2624 2625 l = repo.tagslist()
2625 2626 l.reverse()
2627 hexfunc = ui.debugflag and hex or short
2626 2628 for t, n in l:
2627 2629 try:
2628 r = "%5d:%s" % (repo.changelog.rev(n), hex(n))
2630 r = "%5d:%s" % (repo.changelog.rev(n), hexfunc(n))
2629 2631 except KeyError:
2630 2632 r = " ?:?"
2631 2633 if ui.quiet:
@@ -169,7 +169,7 b' class localrepository(repo.repository):'
169 169
170 170 tag_disallowed = ':\r\n'
171 171
172 def tag(self, name, node, local=False, message=None, user=None, date=None):
172 def tag(self, name, node, message, local, user, date):
173 173 '''tag a revision with a symbolic name.
174 174
175 175 if local is True, the tag is stored in a per-repository file.
@@ -191,11 +191,11 b' class localrepository(repo.repository):'
191 191 if c in name:
192 192 raise util.Abort(_('%r cannot be used in a tag name') % c)
193 193
194 self.hook('pretag', throw=True, node=node, tag=name, local=local)
194 self.hook('pretag', throw=True, node=hex(node), tag=name, local=local)
195 195
196 196 if local:
197 self.opener('localtags', 'a').write('%s %s\n' % (node, name))
198 self.hook('tag', node=node, tag=name, local=local)
197 self.opener('localtags', 'a').write('%s %s\n' % (hex(node), name))
198 self.hook('tag', node=hex(node), tag=name, local=local)
199 199 return
200 200
201 201 for x in self.status()[:5]:
@@ -203,15 +203,12 b' class localrepository(repo.repository):'
203 203 raise util.Abort(_('working copy of .hgtags is changed '
204 204 '(please commit .hgtags manually)'))
205 205
206 self.wfile('.hgtags', 'ab').write('%s %s\n' % (node, name))
206 self.wfile('.hgtags', 'ab').write('%s %s\n' % (hex(node), name))
207 207 if self.dirstate.state('.hgtags') == '?':
208 208 self.add(['.hgtags'])
209 209
210 if not message:
211 message = _('Added tag %s for changeset %s') % (name, node)
212
213 210 self.commit(['.hgtags'], message, user, date)
214 self.hook('tag', node=node, tag=name, local=local)
211 self.hook('tag', node=hex(node), tag=name, local=local)
215 212
216 213 def tags(self):
217 214 '''return a mapping of tag to node'''
@@ -1105,7 +1102,7 b' class localrepository(repo.repository):'
1105 1102 else:
1106 1103 raise util.Abort(_("repository is unrelated"))
1107 1104
1108 self.ui.note(_("found new changesets starting at ") +
1105 self.ui.debug(_("found new changesets starting at ") +
1109 1106 " ".join([short(f) for f in fetch]) + "\n")
1110 1107
1111 1108 self.ui.debug(_("%d total queries\n") % reqcnt)
@@ -32,6 +32,9 b' writing tests:'
32 32 -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
33 33 to strip dates
34 34
35 - You can append your own hgrc settings to the file that the environment
36 variable HGRCPATH points to. This file is cleared before running a test.
37
35 38 You also need to be careful that the tests are portable from one platform
36 39 to another. You're probably working on Linux, where the GNU toolchain has
37 40 more (or different) functionality than on MacOS, *BSD, Solaris, AIX, etc.
@@ -211,6 +211,10 b' def run_one(test):'
211 211 sys.stdout.write('.')
212 212 sys.stdout.flush()
213 213
214 # create a fresh hgrc
215 hgrc = file(HGRCPATH, 'w+')
216 hgrc.close()
217
214 218 err = os.path.join(TESTDIR, test+".err")
215 219 ref = os.path.join(TESTDIR, test+".out")
216 220
@@ -319,11 +323,11 b" os.environ['TZ'] = 'GMT'"
319 323 os.environ["HGEDITOR"] = sys.executable + ' -c "import sys; sys.exit(0)"'
320 324 os.environ["HGMERGE"] = sys.executable + ' -c "import sys; sys.exit(0)"'
321 325 os.environ["HGUSER"] = "test"
322 os.environ["HGRCPATH"] = ""
323 326
324 327 TESTDIR = os.environ["TESTDIR"] = os.getcwd()
325 328 HGTMP = os.environ["HGTMP"] = tempfile.mkdtemp("", "hgtests.")
326 329 DAEMON_PIDS = os.environ["DAEMON_PIDS"] = os.path.join(HGTMP, 'daemon.pids')
330 HGRCPATH = os.environ["HGRCPATH"] = os.path.join(HGTMP, '.hgrc')
327 331
328 332 vlog("# Using TESTDIR", TESTDIR)
329 333 vlog("# Using HGTMP", HGTMP)
@@ -1,8 +1,7 b''
1 1 #!/bin/sh
2 2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "mq=" >> $HGTMP/.hgrc
3 echo "[extensions]" >> $HGRCPATH
4 echo "mq=" >> $HGRCPATH
6 5 cat > $HGTMP/false <<EOF
7 6 #!/bin/sh
8 7 exit 1
@@ -2,9 +2,8 b''
2 2
3 3 set -e
4 4
5 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
6 echo "[extensions]" >> $HGTMP/.hgrc
7 echo "hbisect=" >> $HGTMP/.hgrc
5 echo "[extensions]" >> $HGRCPATH
6 echo "hbisect=" >> $HGRCPATH
8 7
9 8 echo % init
10 9 hg init
@@ -1,4 +1,20 b''
1 1 # default style is like normal output
2 1c1
3 < changeset: 3:10e46f2dcbf4
4 ---
5 > changeset: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47
6 10c10
7 < changeset: 2:97054abb4ab8
8 ---
9 > changeset: 2:97054abb4ab824450e9164180baf491ae0078465
10 18c18
11 < changeset: 1:b608e9d1a3f0
12 ---
13 > changeset: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965
14 29c29
15 < changeset: 0:1e4e1b8f71e0
16 ---
17 > changeset: 0:1e4e1b8f71e05681d422154f5421e385fec3454f
2 18 18a19
3 19 > files:
4 20 29a31
@@ -2,7 +2,7 b' A b'
2 2 b
3 3 b: copy a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
4 4 we should see two history entries
5 changeset: 1:386a3cc01532710ca78aed9a54fa2f459c04f29c
5 changeset: 1:386a3cc01532
6 6 tag: tip
7 7 user: test
8 8 date: Mon Jan 12 13:46:40 1970 +0000
@@ -11,7 +11,7 b' description:'
11 11 2
12 12
13 13
14 changeset: 0:33aaa84a386bd609094aeb21a97c09436c482ef1
14 changeset: 0:33aaa84a386b
15 15 user: test
16 16 date: Mon Jan 12 13:46:40 1970 +0000
17 17 files: a
@@ -1,8 +1,7 b''
1 1 #!/bin/sh
2 2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "extdiff=" >> $HGTMP/.hgrc
3 echo "[extensions]" >> $HGRCPATH
4 echo "extdiff=" >> $HGRCPATH
6 5
7 6 hg init a
8 7 cd a
@@ -14,9 +13,9 b' if [ $? -ne 0 ]; then'
14 13 fi
15 14 hg extdiff -o -Nr $opt
16 15
17 echo "[extdiff]" >> $HGTMP/.hgrc
18 echo "cmd.falabala=echo" >> $HGTMP/.hgrc
19 echo "opts.falabala=diffing" >> $HGTMP/.hgrc
16 echo "[extdiff]" >> $HGRCPATH
17 echo "cmd.falabala=echo" >> $HGRCPATH
18 echo "opts.falabala=diffing" >> $HGRCPATH
20 19
21 20 hg falabala
22 21
@@ -1,8 +1,7 b''
1 1 #!/bin/sh
2 2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "fetch=" >> $HGTMP/.hgrc
3 echo "[extensions]" >> $HGRCPATH
4 echo "fetch=" >> $HGRCPATH
6 5
7 6 hg init a
8 7 echo a > a/a
@@ -31,10 +31,10 b' main: we should have a merge here'
31 31 2 150 71 2 2 a6aef98656b7 c36078bec30d 000000000000
32 32 3 221 72 3 3 0c2cc6fc80e2 182b283965f1 a6aef98656b7
33 33 log should show foo and quux changed
34 changeset: 3:0c2cc6fc80e2d4ee289bb658dbbe9ad932380fe9
34 changeset: 3:0c2cc6fc80e2
35 35 tag: tip
36 parent: 1:182b283965f1069c0112784e30e7755ad1c0dd52
37 parent: 2:a6aef98656b71154cae9d87408abe6d0218c8045
36 parent: 1:182b283965f1
37 parent: 2:a6aef98656b7
38 38 user: test
39 39 date: Mon Jan 12 13:46:40 1970 +0000
40 40 files: foo quux
@@ -47,7 +47,7 b' 0:b6c483daf290'
47 47 0:8580ff50825a
48 48 1:b6c483daf290
49 49 %% -v/--verbose
50 changeset: 1:b6c483daf2907ce5825c0bb50f5716226281cc1a
50 changeset: 1:b6c483daf290
51 51 tag: tip
52 52 user: test
53 53 date: Thu Jan 01 00:00:01 1970 +0000
@@ -56,7 +56,7 b' description:'
56 56 b
57 57
58 58
59 changeset: 0:8580ff50825a50c8f716709acdf8de0deddcd6ab
59 changeset: 0:8580ff50825a
60 60 user: test
61 61 date: Thu Jan 01 00:00:01 1970 +0000
62 62 files: a
@@ -64,7 +64,7 b' description:'
64 64 a
65 65
66 66
67 changeset: 0:b6c483daf2907ce5825c0bb50f5716226281cc1a
67 changeset: 0:b6c483daf290
68 68 tag: tip
69 69 user: test
70 70 date: Thu Jan 01 00:00:01 1970 +0000
@@ -36,43 +36,43 b' added 3 changesets with 2 changes to 2 f'
36 36 (run 'hg update' to get a working copy)
37 37 pretag hook: t=a n=4c52fb2e402287dd5dc052090682536c8406c321 l=0
38 38 precommit hook: p1=4c52fb2e402287dd5dc052090682536c8406c321 p2=
39 pretxncommit hook: n=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 p1=4c52fb2e402287dd5dc052090682536c8406c321 p2=
40 4:4f92e785b90a
41 commit hook: n=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 p1=4c52fb2e402287dd5dc052090682536c8406c321 p2=
39 pretxncommit hook: n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p1=4c52fb2e402287dd5dc052090682536c8406c321 p2=
40 4:8ea2ef7ad3e8
41 commit hook: n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p1=4c52fb2e402287dd5dc052090682536c8406c321 p2=
42 42 commit hook b
43 43 tag hook: t=a n=4c52fb2e402287dd5dc052090682536c8406c321 l=0
44 pretag hook: t=la n=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 l=1
45 tag hook: t=la n=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 l=1
46 pretag hook: t=fa n=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 l=0
44 pretag hook: t=la n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 l=1
45 tag hook: t=la n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 l=1
46 pretag hook: t=fa n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 l=0
47 47 pretag.forbid hook
48 48 abort: pretag.forbid hook exited with status 1
49 pretag hook: t=fla n=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 l=1
49 pretag hook: t=fla n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 l=1
50 50 pretag.forbid hook
51 51 abort: pretag.forbid hook exited with status 1
52 4:4f92e785b90a
53 precommit hook: p1=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 p2=
54 pretxncommit hook: n=7792358308a2026661cea44f9d47c072813004cb p1=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 p2=
55 5:7792358308a2
56 pretxncommit.forbid hook: tip=5:7792358308a2
52 4:8ea2ef7ad3e8
53 precommit hook: p1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p2=
54 pretxncommit hook: n=fad284daf8c032148abaffcd745dafeceefceb61 p1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p2=
55 5:fad284daf8c0
56 pretxncommit.forbid hook: tip=5:fad284daf8c0
57 57 abort: pretxncommit.forbid hook exited with status 1
58 58 transaction abort!
59 59 rollback completed
60 4:4f92e785b90a
61 precommit hook: p1=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 p2=
60 4:8ea2ef7ad3e8
61 precommit hook: p1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p2=
62 62 precommit.forbid hook
63 63 abort: precommit.forbid hook exited with status 1
64 4:4f92e785b90a
64 4:8ea2ef7ad3e8
65 65 preupdate hook: p1=b702efe9688826e3a91283852b328b84dbf37bc2 p2=
66 66 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
67 preupdate hook: p1=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 p2=
68 update hook: p1=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 p2= err=0
67 preupdate hook: p1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p2=
68 update hook: p1=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 p2= err=0
69 69 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
70 70 3:4c52fb2e4022
71 71 prechangegroup.forbid hook
72 72 pulling from ../a
73 73 searching for changes
74 74 abort: prechangegroup.forbid hook exited with status 1
75 pretxnchangegroup.forbid hook: tip=4:4f92e785b90a
75 pretxnchangegroup.forbid hook: tip=4:8ea2ef7ad3e8
76 76 pulling from ../a
77 77 searching for changes
78 78 adding changesets
@@ -84,7 +84,7 b' transaction abort!'
84 84 rollback completed
85 85 3:4c52fb2e4022
86 86 preoutgoing hook: s=pull
87 outgoing hook: n=4f92e785b90ae8995dfe156e39dd4fbc3b346a24 s=pull
87 outgoing hook: n=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 s=pull
88 88 pulling from ../a
89 89 searching for changes
90 90 adding changesets
@@ -34,7 +34,7 b' date: Thu Jan 01 00:00:01 1970 +0'
34 34 summary: a
35 35
36 36 % one rename
37 changeset: 0:8580ff50825a50c8f716709acdf8de0deddcd6ab
37 changeset: 0:8580ff50825a
38 38 user: test
39 39 date: Thu Jan 01 00:00:01 1970 +0000
40 40 files: a
@@ -43,7 +43,7 b' a'
43 43
44 44
45 45 % many renames
46 changeset: 4:8c1c8408f7371319750ea2d4fa7969828effbcf4
46 changeset: 4:8c1c8408f737
47 47 tag: tip
48 48 user: test
49 49 date: Thu Jan 01 00:00:05 1970 +0000
@@ -52,7 +52,7 b' description:'
52 52 e
53 53
54 54
55 changeset: 2:21fba396af4c801f9717de6c415b6cc9620437e8
55 changeset: 2:21fba396af4c
56 56 user: test
57 57 date: Thu Jan 01 00:00:03 1970 +0000
58 58 files: b dir/b
@@ -60,7 +60,7 b' description:'
60 60 c
61 61
62 62
63 changeset: 1:c0296dabce9bf0cd3fdd608de26693c91cd6bbf4
63 changeset: 1:c0296dabce9b
64 64 user: test
65 65 date: Thu Jan 01 00:00:02 1970 +0000
66 66 files: b
@@ -68,7 +68,7 b' description:'
68 68 b
69 69
70 70
71 changeset: 0:8580ff50825a50c8f716709acdf8de0deddcd6ab
71 changeset: 0:8580ff50825a
72 72 user: test
73 73 date: Thu Jan 01 00:00:01 1970 +0000
74 74 files: a
@@ -1,8 +1,7 b''
1 1 #!/bin/sh
2 2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "mq=" >> $HGTMP/.hgrc
3 echo "[extensions]" >> $HGRCPATH
4 echo "mq=" >> $HGRCPATH
6 5
7 6 echo % help
8 7 hg help mq
@@ -127,7 +126,7 b' hg ci -Ama'
127 126 hg strip tip 2>&1 | sed 's/\(saving bundle to \).*/\1/'
128 127 hg unbundle .hg/strip-backup/*
129 128
130 cat >>$HGTMP/.hgrc <<EOF
129 cat >>$HGRCPATH <<EOF
131 130 [diff]
132 131 git = True
133 132 EOF
@@ -1,8 +1,7 b''
1 1 #!/bin/sh
2 2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "mq=" >> $HGTMP/.hgrc
3 echo "[extensions]" >> $HGRCPATH
4 echo "mq=" >> $HGRCPATH
6 5
7 6 hg init
8 7 hg qinit
@@ -1,8 +1,7 b''
1 1 #!/bin/sh
2 2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "mq=" >> $HGTMP/.hgrc
3 echo "[extensions]" >> $HGRCPATH
4 echo "mq=" >> $HGRCPATH
6 5
7 6 echo % init
8 7 hg init a
@@ -1,8 +1,7 b''
1 1 #!/bin/sh
2 2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "mq=" >> $HGTMP/.hgrc
3 echo "[extensions]" >> $HGRCPATH
4 echo "mq=" >> $HGRCPATH
6 5
7 6 hg init a
8 7 cd a
@@ -1,9 +1,8 b''
1 1 #!/bin/sh
2 2
3 3 # Environement setup for MQ
4 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
5 echo "[extensions]" >> $HGTMP/.hgrc
6 echo "mq=" >> $HGTMP/.hgrc
4 echo "[extensions]" >> $HGRCPATH
5 echo "mq=" >> $HGRCPATH
7 6
8 7 #Repo init
9 8 hg init
@@ -1,8 +1,7 b''
1 1 #!/bin/sh
2 2
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
4 echo "[extensions]" >> $HGTMP/.hgrc
5 echo "mq=" >> $HGTMP/.hgrc
3 echo "[extensions]" >> $HGRCPATH
4 echo "mq=" >> $HGRCPATH
6 5
7 6 hg init a
8 7 cd a
@@ -1,6 +1,6 b''
1 1 reverting a
2 2 changeset 3:107ce1ee2b43 backs out changeset 1:25a1420a55f8
3 merging with changeset 2:99a1acecff55
3 merging with changeset 2:e6c3abc120e7
4 4 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
5 5 (branch merge, don't forget to commit)
6 6 abort: invalid date: 'should fail'
@@ -4,11 +4,11 b' user: test'
4 4 date: Mon Jan 12 13:46:40 1970 +0000
5 5 summary: test
6 6
7 changeset: 1:c5c60883086f
7 changeset: 1:3ecf002a1c57
8 8 tag: tip
9 9 user: test
10 10 date: Mon Jan 12 13:46:40 1970 +0000
11 summary: Added tag bleah for changeset 0acdaf8983679e0aac16e811534eb49d7ee1f2b4
11 summary: Added tag bleah for changeset 0acdaf898367
12 12
13 13 changeset: 0:0acdaf898367
14 14 tag: bleah
@@ -24,9 +24,9 b' failed'
24 24 use of 'hg tag NAME [REV]' is deprecated, please use 'hg tag [-r REV] NAME' instead
25 25 0acdaf8983679e0aac16e811534eb49d7ee1f2b4 bleah
26 26 0acdaf8983679e0aac16e811534eb49d7ee1f2b4 bleah0
27 c5c60883086f5526bd3e36814b94a73a4e75e172 bleah1
27 3ecf002a1c572a2f3bb4e665417e60fca65bbd42 bleah1
28 28 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
29 29 0acdaf8983679e0aac16e811534eb49d7ee1f2b4 foobar
30 c5c60883086f5526bd3e36814b94a73a4e75e172 bleah1
30 3ecf002a1c572a2f3bb4e665417e60fca65bbd42 bleah1
31 31 abort: '\n' cannot be used in a tag name
32 32 abort: ':' cannot be used in a tag name
@@ -9,7 +9,7 b' hg add a'
9 9 hg commit -m "test" -d "1000000 0"
10 10 hg co
11 11 hg identify
12 T=`hg tip -v | head -n 1 | cut -d : -f 3`
12 T=`hg tip --debug | head -n 1 | cut -d : -f 3`
13 13 echo "$T first" > .hgtags
14 14 cat .hgtags
15 15 hg add .hgtags
@@ -2,35 +2,35 b' unknown'
2 2 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
3 3 0acdaf898367 tip
4 4 0acdaf8983679e0aac16e811534eb49d7ee1f2b4 first
5 tip 1:8a3ca90d111dc784e6575d373105be12570e8776
6 first 0:0acdaf8983679e0aac16e811534eb49d7ee1f2b4
5 tip 1:8a3ca90d111d
6 first 0:0acdaf898367
7 7 8a3ca90d111d tip
8 8 M a
9 9 8a3ca90d111d+ tip
10 10 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
11 11 0acdaf898367+ first
12 0acdaf8983679e0aac16e811534eb49d7ee1f2b4+ first
12 0acdaf898367+ first
13 13 M a
14 14 8216907a933d tip
15 15 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
16 16 (branch merge, don't forget to commit)
17 17 8216907a933d+8a3ca90d111d+ tip
18 18 M .hgtags
19 tip 6:c6af9d771a81bb9c7f267ec03491224a9f8ba1cd
20 first 0:0acdaf8983679e0aac16e811534eb49d7ee1f2b4
21 .hgtags (rev 7:39bba1bbbc4c), line 2: cannot parse entry
22 .hgtags (rev 7:39bba1bbbc4c), line 4: node 'foo' is not well formed
19 tip 6:e2174d339386
20 first 0:0acdaf898367
21 .hgtags (rev 7:c071f74ab5eb), line 2: cannot parse entry
22 .hgtags (rev 7:c071f74ab5eb), line 4: node 'foo' is not well formed
23 23 localtags, line 1: tag 'invalid' refers to unknown node
24 24 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
25 .hgtags (rev 7:39bba1bbbc4c), line 2: cannot parse entry
26 .hgtags (rev 7:39bba1bbbc4c), line 4: node 'foo' is not well formed
25 .hgtags (rev 7:c071f74ab5eb), line 2: cannot parse entry
26 .hgtags (rev 7:c071f74ab5eb), line 4: node 'foo' is not well formed
27 27 .hgtags (rev 8:4ca6f1b1a68c), line 2: node 'x' is not well formed
28 28 localtags, line 1: tag 'invalid' refers to unknown node
29 tip 8:4ca6f1b1a68c77be687a03aaeb1614671ba59b20
30 first 0:0acdaf8983679e0aac16e811534eb49d7ee1f2b4
29 tip 8:4ca6f1b1a68c
30 first 0:0acdaf898367
31 31 changeset: 8:4ca6f1b1a68c
32 .hgtags (rev 7:39bba1bbbc4c), line 2: cannot parse entry
33 .hgtags (rev 7:39bba1bbbc4c), line 4: node 'foo' is not well formed
32 .hgtags (rev 7:c071f74ab5eb), line 2: cannot parse entry
33 .hgtags (rev 7:c071f74ab5eb), line 4: node 'foo' is not well formed
34 34 .hgtags (rev 8:4ca6f1b1a68c), line 2: node 'x' is not well formed
35 35 localtags, line 1: tag 'invalid' refers to unknown node
36 36 tag: tip
@@ -64,7 +64,7 b' user: test'
64 64 date: Mon Jan 12 13:46:40 1970 +0000
65 65 summary: 2
66 66
67 changeset: 1:802f095af299cde27a85b2f056aef3829870956c
67 changeset: 1:802f095af299
68 68 tag: tip
69 69 user: test
70 70 date: Mon Jan 12 13:46:40 1970 +0000
@@ -73,7 +73,7 b' description:'
73 73 2
74 74
75 75
76 changeset: 0:33aaa84a386bd609094aeb21a97c09436c482ef1
76 changeset: 0:33aaa84a386b
77 77 user: test
78 78 date: Mon Jan 12 13:46:40 1970 +0000
79 79 files: a
General Comments 0
You need to be logged in to leave comments. Login now