annotate tests/test-evolve-issue5832.t @ 3655:19e3771f4bcc

tests: add a test demonstarting issue5832 traceback The traceback will be fixed in upcoming patches.
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 06 Apr 2018 15:35:57 +0530
parents
children 62e4149435d8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3655
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
1 Test for issue 5832 present at https://bz.mercurial-scm.org/show_bug.cgi?id=5832
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
2 ================================================================================
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
3
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
4 Setup
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
5 =====
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
6
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
7 $ cat >> $HGRCPATH <<EOF
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
8 > [phases]
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
9 > publish = False
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
10 > [alias]
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
11 > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}"
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
12 > [extensions]
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
13 > EOF
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
14 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
15
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
16 $ hg init issue5832
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
17 $ cd issue5832
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
18
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
19 $ echo base > base
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
20 $ hg ci -Aqm "added base"
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
21
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
22 $ echo a > a
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
23 $ hg ci -Aqm "added a"
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
24
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
25 $ echo b > b
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
26 $ hg ci -Aqm "added b"
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
27
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
28 $ hg up .^^
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
29 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
30 $ echo c > c
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
31 $ echo d > d
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
32 $ hg ci -Aqm "added c and d"
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
33
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
34 $ hg merge
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
35 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
36 (branch merge, don't forget to commit)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
37 $ hg ci -m "merge commit"
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
38
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
39 $ hg glog
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
40 @ 4:b9b387427a53 merge commit
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
41 |\ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
42 | o 3:9402371b436e added c and d
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
43 | | () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
44 o | 2:a1da0651488c added b
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
45 | | () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
46 o | 1:1b24879c5c3c added a
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
47 |/ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
48 o 0:bde1d2b6b5e5 added base
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
49 () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
50
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
51 $ hg up 1b24879c5c3c
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
52 0 files updated, 0 files merged, 3 files removed, 0 files unresolved
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
53 $ echo foo > a
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
54 $ hg amend
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
55 2 new orphan changesets
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
56
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
57 $ hg up bde1d2b6b5e5
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
58 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
59 $ echo c > c
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
60 $ hg ci -Aqm "added c"
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
61 $ hg up .^
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
62 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
63 $ echo d > d
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
64 $ hg ci -Aqm "added d"
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
65 $ hg glog
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
66 @ 7:5841d7cf9893 added d
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
67 | () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
68 | o 6:62fb70414f99 added c
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
69 |/ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
70 | o 5:7014ec2829cd added a
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
71 |/ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
72 | * 4:b9b387427a53 merge commit
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
73 | |\ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
74 +---o 3:9402371b436e added c and d
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
75 | | () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
76 | * 2:a1da0651488c added b
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
77 | | () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
78 | x 1:1b24879c5c3c added a
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
79 |/ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
80 o 0:bde1d2b6b5e5 added base
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
81 () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
82
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
83 $ hg prune -r 9402371b436e --succ 62fb70414f99 --succ 5841d7cf9893 --split
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
84 1 changesets pruned
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
85
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
86 $ hg glog
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
87 @ 7:5841d7cf9893 added d
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
88 | () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
89 | o 6:62fb70414f99 added c
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
90 |/ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
91 | o 5:7014ec2829cd added a
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
92 |/ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
93 | * 4:b9b387427a53 merge commit
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
94 | |\ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
95 +---x 3:9402371b436e added c and d
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
96 | | () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
97 | * 2:a1da0651488c added b
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
98 | | () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
99 | x 1:1b24879c5c3c added a
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
100 |/ () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
101 o 0:bde1d2b6b5e5 added base
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
102 () draft
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
103
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
104 Checking what evolve is trying to do
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
105
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
106 $ hg evolve --dry-run --any --all
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
107 ** unknown exception encountered, please report by visiting
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
108 ** https://mercurial-scm.org/wiki/BugTracker
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
109 ** Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
110 ** Mercurial Distributed SCM (version 4.5.2+1522-110be5264257)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
111 ** Extensions loaded: evolve
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
112 Traceback (most recent call last):
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
113 File "/tmp/hgtests.Zqw2_x/install/bin/hg", line 41, in <module>
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
114 dispatch.run()
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
115 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 93, in run
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
116 status = (dispatch(req) or 0)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
117 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 213, in dispatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
118 ret = _runcatch(req)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
119 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 354, in _runcatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
120 return _callcatch(ui, _runcatchfunc)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
121 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 362, in _callcatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
122 return scmutil.callcatch(ui, func)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
123 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/scmutil.py", line 159, in callcatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
124 return func()
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
125 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 344, in _runcatchfunc
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
126 return _dispatch(req)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
127 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 973, in _dispatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
128 cmdpats, cmdoptions)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
129 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 730, in runcommand
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
130 ret = _runcommand(ui, options, cmd, d)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
131 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 981, in _runcommand
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
132 return cmdfunc()
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
133 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 970, in <lambda>
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
134 d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
135 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/util.py", line 1537, in check
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
136 return func(*args, **kwargs)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
137 File "/home/foobar/repo/mutable-history/hgext3rd/evolve/evolvecmd.py", line 1232, in evolve
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
138 revs = _orderrevs(repo, revs)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
139 File "/home/foobar/repo/mutable-history/hgext3rd/evolve/evolvecmd.py", line 463, in _orderrevs
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
140 dependencies, rdependencies = utility.builddependencies(repo, revs)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
141 File "/home/foobar/repo/mutable-history/hgext3rd/evolve/utility.py", line 109, in builddependencies
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
142 dependencies[r].add(succ)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
143 AttributeError: 'list' object has no attribute 'add'
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
144 [1]
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
145
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
146 Resolving instability using `hg evolve`
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
147
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
148 $ hg evolve --any --all
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
149 ** unknown exception encountered, please report by visiting
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
150 ** https://mercurial-scm.org/wiki/BugTracker
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
151 ** Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
152 ** Mercurial Distributed SCM (version 4.5.2+1522-110be5264257)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
153 ** Extensions loaded: evolve
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
154 Traceback (most recent call last):
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
155 File "/tmp/hgtests.Zqw2_x/install/bin/hg", line 41, in <module>
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
156 dispatch.run()
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
157 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 93, in run
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
158 status = (dispatch(req) or 0)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
159 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 213, in dispatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
160 ret = _runcatch(req)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
161 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 354, in _runcatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
162 return _callcatch(ui, _runcatchfunc)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
163 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 362, in _callcatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
164 return scmutil.callcatch(ui, func)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
165 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/scmutil.py", line 159, in callcatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
166 return func()
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
167 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 344, in _runcatchfunc
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
168 return _dispatch(req)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
169 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 973, in _dispatch
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
170 cmdpats, cmdoptions)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
171 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 730, in runcommand
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
172 ret = _runcommand(ui, options, cmd, d)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
173 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 981, in _runcommand
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
174 return cmdfunc()
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
175 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/dispatch.py", line 970, in <lambda>
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
176 d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
177 File "/tmp/hgtests.Zqw2_x/install/lib/python/mercurial/util.py", line 1537, in check
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
178 return func(*args, **kwargs)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
179 File "/home/foobar/repo/mutable-history/hgext3rd/evolve/evolvecmd.py", line 1232, in evolve
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
180 revs = _orderrevs(repo, revs)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
181 File "/home/foobar/repo/mutable-history/hgext3rd/evolve/evolvecmd.py", line 463, in _orderrevs
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
182 dependencies, rdependencies = utility.builddependencies(repo, revs)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
183 File "/home/foobar/repo/mutable-history/hgext3rd/evolve/utility.py", line 109, in builddependencies
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
184 dependencies[r].add(succ)
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
185 AttributeError: 'list' object has no attribute 'add'
19e3771f4bcc tests: add a test demonstarting issue5832 traceback
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
186 [1]