~ubuntu-branches/ubuntu/trusty/mercurial/trusty

« back to all changes in this revision

Viewing changes to tests/test-histedit-outgoing.t

  • Committer: Package Import Robot
  • Author(s): Javi Merino
  • Date: 2013-10-02 23:55:58 UTC
  • mfrom: (1.2.37)
  • Revision ID: package-import@ubuntu.com-20131002235558-410hds2is38gjrqv
Tags: 2.7.2-1
* New upstream release
* Revert breaks of mercurial-git back to << 0.4.0-1 (Closes: #725145)
* Re-enable the testsuite as the tests that timeout can be blacklisted

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
  #  m, mess = edit message without changing commit content
103
103
  #
104
104
  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
105
 
 
106
test to check number of roots in outgoing revisions
 
107
 
 
108
  $ hg -q outgoing -G --template '{node|short}({branch})' '../r'
 
109
  @  f26599ee3441(foo)
 
110
  
 
111
  o  652413bf663e(default)
 
112
  |
 
113
  o  e860deea161a(default)
 
114
  |
 
115
  o  055a42cdd887(default)
 
116
  
 
117
  $ HGEDITOR=cat hg -q histedit --outgoing '../r'
 
118
  abort: there are ambiguous outgoing revisions
 
119
  (see "hg help histedit" for more detail)
 
120
  [255]
 
121
 
 
122
  $ hg -q update -C 2
 
123
  $ echo aa >> a
 
124
  $ hg -q commit -m 'another head on default'
 
125
  $ hg -q outgoing -G --template '{node|short}({branch})' '../r#default'
 
126
  @  3879dc049647(default)
 
127
  
 
128
  o  652413bf663e(default)
 
129
  |
 
130
  o  e860deea161a(default)
 
131
  |
 
132
  o  055a42cdd887(default)
 
133
  
 
134
  $ HGEDITOR=cat hg -q histedit --outgoing '../r#default'
 
135
  abort: there are ambiguous outgoing revisions
 
136
  (see "hg help histedit" for more detail)
 
137
  [255]
 
138
 
105
139
  $ cd ..