Pierre-Yves David avatar Pierre-Yves David committed 87c41ef

test conflicting conflicting (sic) resolution

Comments (0)

Files changed (2)

         displayer.show(base)
     if dryrun:
         ui.write('hg update -c %s &&\n' % conflicting)
-        ui.write('hg merge %s && \n' % other)
+        ui.write('hg merge %s &&\n' % other)
         ui.write('hg commit -m "auto merge resolving conflict between '
                  '%s and %s"&&\n' % (conflicting, other))
         ui.write('hg up -C %s &&\n' % base)

tests/test-stabilize-result.t

 
   $ hg evolve -qn
   hg update -c 3883461cc228 &&
-  hg merge 4754d61bc2db && 
+  hg merge 4754d61bc2db &&
   hg commit -m "auto merge resolving conflict between 3883461cc228 and 4754d61bc2db"&&
   hg up -C 7391601a4bfa &&
   hg revert --all --rev tip &&
   +less
   +conflict
   +babar
+
+Check conflicting during conflicting resolution
+-------------------------------------------------
+
+  $ hg up 15
+  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  Working directory parent is obsolete
+  $ echo 'gotta break' >> a
+  $ hg amend
+  1 new conflicting changesets
+  $ hg evolve -qn
+  hg update -c c956a4b140b6 &&
+  hg merge ac6d600735a4 &&
+  hg commit -m "auto merge resolving conflict between c956a4b140b6 and ac6d600735a4"&&
+  hg up -C 7391601a4bfa &&
+  hg revert --all --rev tip &&
+  hg commit -m "`hg log -r c956a4b140b6 --template={desc}`";
+  $ hg evolve
+  merge:[24] More addition
+  with: [22] More addition
+  base: [15] More addition
+  merging a
+  warning: conflicts during merge.
+  merging a incomplete! (edit conflicts, then use 'hg resolve --mark')
+  0 files updated, 0 files merged, 0 files removed, 1 files unresolved
+  use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
+  abort: GASP! Merge Conflict! You are on you own chap!
+  (/!\ hg evolve --continue will NOT work /!\)
+  [255]
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.