[Bug 6291] New: rebase --dry-run silently cleans a dirty working directory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 6291] New: rebase --dry-run silently cleans a dirty working directory

mercurial-bugs-2
https://bz.mercurial-scm.org/show_bug.cgi?id=6291

            Bug ID: 6291
           Summary: rebase --dry-run silently cleans a dirty working
                    directory
           Product: Mercurial
           Version: 5.3
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: rebase
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
    Python Version: ---

I had a few changes left over with default checked out, and ran this sequence
with 5.3.1:

$ hg rebase -s 45368 -d stable
abort: uncommitted changes

$ hg diff
diff --git a/tests/test-phabricator.t b/tests/test-phabricator.t
--- a/tests/test-phabricator.t
+++ b/tests/test-phabricator.t
...

$ hg rebase -s 45368 -d stable --dry-run
starting dry-run rebase; repository will not be changed
rebasing 45368:f7b61b78584e "xxx-doc: fix typos in upgrade and revlog"
dry-run rebase completed successfully; run without -n/--dry-run to perform this
rebase

$ hg diff

$ hg st

There was a noticeable pause after the suggestion to run without -n, so that
may have been when it happened.

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel