/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/blackbox/test_uncommit.py

  • Committer: Breezy landing bot
  • Author(s): Vincent Ladeuil
  • Date: 2019-03-06 14:58:32 UTC
  • mfrom: (7294.1.2 trunk)
  • Revision ID: breezy.the.bot@gmail.com-20190306145832-ghgjxu1recloriwh
Open trunk again as 3.1.0dev1

Merged from https://code.launchpad.net/~vila/brz/trunk/+merge/364041

Show diffs side-by-side

added added

removed removed

Lines of Context:
246
246
  brz pull . -r revid:a2
247
247
""")
248
248
 
 
249
    def test_uncommit_shows_pull_with_location(self):
 
250
        wt = self.create_simple_tree()
 
251
 
 
252
        script = ScriptRunner()
 
253
        script.run_script(self, """
 
254
$ brz uncommit --force tree
 
255
    2 ...
 
256
      second commit
 
257
...
 
258
The above revision(s) will be removed.
 
259
You can restore the old tip by running:
 
260
  brz pull -d tree tree -r revid:a2
 
261
""")
 
262
 
249
263
    def test_uncommit_octopus_merge(self):
250
264
        # Check that uncommit keeps the pending merges in the same order
251
265
        # though it will also filter out ones in the ancestry