mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Use underscores instead of hyphens as bookmark suffixes.
Summary: When trying to find an unused bookmark we append hyphened suffixes to the end of the bookmark name. In Mercurial, these are treated the same as the bookmark name without the suffix, here's the output from hg log -r: ``` [mehdi] HGPLAIN=1 hg log -r "arcpatch-1" abort: unknown revision 'arcpatch'! [mehdi] HGPLAIN=1 hg log -r "arcpatch_1" abort: unknown revision 'arcpatch_1'! ``` Test Plan: None. Reviewers: epriestley, dschleimer Reviewed By: dschleimer CC: aran, Korvin, DurhamGoode, dschleimer Differential Revision: https://secure.phabricator.com/D6698
This commit is contained in:
parent
dccc8571d7
commit
857b754c7e
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ EOTEXT
|
|||
$base_name .= "-D{$revision_id}";
|
||||
}
|
||||
|
||||
$suffixes = array(null, '-1', '-2', '-3');
|
||||
$suffixes = array(null, '_1', '_2', '_3');
|
||||
foreach ($suffixes as $suffix) {
|
||||
$proposed_name = $base_name.$suffix;
|
||||
|
||||
|
|
Loading…
Reference in a new issue