Mercurial > hg-stable
changeset 42463:cda591d2bfe1
rebase: tweak description of inmemory working even w/ dirty working dir
One of our users was confused because they read this, and then attempted to run
`hg rebase` with a dirty working directory, and it still complained. The reason
was that they were attempting to rebase the commit they currently had checked
out, which (at least with evolve workflows enabled) involves updating the
working directory to be based on the newly rebased commit.
Differential Revision: https://phab.mercurial-scm.org/D6507
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Mon, 10 Jun 2019 15:35:06 -0700 |
parents | 055c3e2c44f0 |
children | 1314c0bb6b24 |
files | hgext/rebase.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/rebase.py Mon Jun 10 13:23:14 2019 -0400 +++ b/hgext/rebase.py Mon Jun 10 15:35:06 2019 -0700 @@ -850,8 +850,9 @@ singletransaction = True By default, rebase writes to the working copy, but you can configure it to - run in-memory for for better performance, and to allow it to run if the - working copy is dirty:: + run in-memory for better performance. When the rebase is not moving the + parent(s) of the working copy (AKA the "currently checked out changesets"), + this may also allow it to run even if the working copy is dirty:: [rebase] experimental.inmemory = True