mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
3cdfe1fff8
Summary: Fixes T10321. Some reasonable but less-common workflows involve running `arc land` from a detached HEAD state. When users do this, we currently try to delete the raw hash as though it were a branch during cleanup. Instead, detect if the thing we're thinking about deleting is a branch or not, and just leave it alone if it isn't. Test Plan: - Ran `git checkout <some hash>`, then `arc land --revision <some revision>`. - Before, everything worked but cleanup tried to `git branch -D <some hash>`. - After, everything worked and cleanup skipped branch deletion. Maniphest Tasks: T10321 Differential Revision: https://secure.phabricator.com/D20786 |
||
---|---|---|
.. | ||
__tests__ | ||
configuration | ||
difference | ||
differential | ||
docs/book | ||
events/constant | ||
exception | ||
extensions | ||
hgdaemon | ||
internationalization | ||
land | ||
lint | ||
parser | ||
ref | ||
repository | ||
unit | ||
upload | ||
workflow | ||
workingcopyidentity | ||
__phutil_library_init__.php | ||
__phutil_library_map__.php |