Hi Soren,

I'm not sure if this is the "correct" way to use phabricator, but it is the
way I use it successfully :-)

I follow basically your steps, except I use them in tandem with the firefox
tree hg extension, and hg bookmarks. So my workflow looks like:

$ # create a new bookmark to work on
$ hg bookmark my-new-features
$ # Do work
$ hg ci -m "blah blah blah"
$ # I use moz-phab instead of arc, but it's the same for the purposes of
this example
$ moz-phab submit
$ # Switch back to centrla
$ hg up central
$ hg bookmark my-other-features
$ # Do work
$ hg ci -m " blah blah blah"
$ moz-phab submit

Hopefully this helps!

On Wed, Dec 26, 2018 at 12:45 PM soeren.hentzschel--- via dev-platform <
dev-platform@lists.mozilla.org> wrote:

> Hi!
>
> I already wrote a few small patches for Firefox but I am still not very
> familiar with Phabricator. And it already happens more than once that I
> messed up with Phabricator requests. Unfortunately the documenation was not
> very helpful for me, I didn't find any information about working on more
> than one bug.
>
> Maybe you could give me some hints how to use Phabricator the correct way?
> =)
>
> In the past, to create a Phabricator request I used the following steps:
>
> hg add <directory>
> hg commit -m 'Bug 12345 - the commit message' <directory>
> arc diff
>
> But assuming I want to work on another bug while waiting for review: If I
> execute the same steps for another bug my previous Phabricator request will
> be updated with the new commit instead of creating a new Phabricator
> request.
>
> I found out that I can use arc diff <revision> if I want to create a new
> Phabricator request without the commits from my previous request.
>
> Is that the correct way to work on more than one bug at the same time? How
> do you work on different bugs at the same time? Do you have any other
> helpful input which helps to avoid mistakes?
>
> Thank you!
> Sören
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to