Changes between Version 15 and Version 16 of Phabricator


Ignore:
Timestamp:
Sep 1, 2020, 11:25:56 AM (4 years ago)
Author:
wraitii
Comment:

More details on how to upload a patch + update to latest version.

Legend:

Unmodified
Added
Removed
Modified
  • Phabricator

    v15 v16  
    4444Take a look at the [wiki:Phabricator#CommonproblemswithArcanist Common problems with Arcanist] section below if you have any trouble.
    4545
    46 === Configura Arcanist ===
     46=== Configure Arcanist ===
    4747Finally, associate arc with your credentials with our Phabricator instance by using
    4848{{{#!sh
     
    8989
    9090{{{#!sh
    91 arc diff --preview
     91arc diff --only
    9292}}}
    9393creates a diff from your working copy and uploads it to Phabricator. When following the given link, you will be able to create a new revision or update an existing one with the new code change.
    9494
    95 If you're a team member with commit access, always create diffs from a clone of the public SVN. Since Phabricator tracks the public repo, if you create diffs from a clone of the commit-access one, the paths won't match.
     95Note that Arcanist uploads diff with relative paths, so always upload from the project main directory (https://trac.wildfiregames.com/browser/ps/trunk)
     96
     97If you are using the git mirror, you may use
     98{{{#!sh
     99arc diff head^
     100}}}
     101or a reference to any other commit, and Arcanist will upload a combined diff (similar output to git diff). This is useful to diff against e.g. master.
     102
     103Finally, you can use
     104{{{#!sh
     105arc diff --update Dnn
     106}}}
     107to directly update a diff, even if you are not its owner (Arcanist will ask for confirmation).
    96108
    97109=== Manually uploading a patch ===