]> khamidou — GitHub mirrors - arcanist.git/commit
fix 'arc feature' not creating bookmarks on mercurial
authordurham <durham@fb.com>
Thu, 21 Feb 2013 04:06:16 +0000 (20:06 -0800)
committerdurham <durham@fb.com>
Thu, 21 Feb 2013 04:06:16 +0000 (20:06 -0800)
commit7f81058ead6d36523f9816442dcb99c2b0e4ac88
tree23a9f7b2183be97e89b12444f558679f905ce3ab
parent01ec10329792208a85fcb5a614f009efbabfcef7
fix 'arc feature' not creating bookmarks on mercurial

Summary:
The arc feature command wasn't actually creating bookmarks
on mercurial. It needs to call 'hg bookmark' instead of 'hg update'

Also removed an unnecessary hgsprintf since there were no arguments.

Test Plan:
Ran 'arc feature foo' and 'arc feature bar tip^'.
The former created a bookmark at my current location.
The latter created a bookmark at tip^ and moved me to that revision.

Reviewers: vrana, epriestley

Reviewed By: epriestley

CC: sid0, bos, dschleimer, aran, Korvin
Differential Revision: https://secure.phabricator.com/D5023
src/workflow/ArcanistFeatureWorkflow.php