]> khamidou — GitHub mirrors - arcanist.git/commit
Use underscores instead of hyphens as bookmark suffixes.
authorMehdi Mulani <mehdi@fb.com>
Wed, 7 Aug 2013 21:56:03 +0000 (14:56 -0700)
committerepriestley <git@epriestley.com>
Wed, 7 Aug 2013 21:56:03 +0000 (14:56 -0700)
commit857b754c7e82445edf833e00d5545f77d3db857a
treea0045a3bb65894bc0a91ba879aed514e37c77667
parentdccc8571d70e59736b4f9860b4595050d1e91a04
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
src/workflow/ArcanistPatchWorkflow.php