Page MenuHomePhabricator

Error when the commit message is : "project: something"
Closed, InvalidPublic

Description

When I try to run arc diff on a git branch with a single commit differing from origin/master (so not a complicated situation), if the commit message is:
project: whatever
arc complains thus :

  1. arc could not identify any existing revision in your working copy.
  2. If you intended to update an existing revision, use: #
  3. $ arc diff --update <revision> #
  4. NOTE: commit b243a178a445 could not be completely parsed:
  5. - Error parsing field "Projects": The objects you have listed include objects which do not exist (something.).

We have a project file that we pretty much want to keep naming that way :) Is there maybe somewhere where I can lookup reserved keywords (I hope there are none), or is that simply a bug?

Event Timeline

MathieuDuponchelle raised the priority of this task from to Needs Triage.
MathieuDuponchelle updated the task description. (Show Details)
MathieuDuponchelle updated the task description. (Show Details)
btrahan claimed this task.
btrahan added a subscriber: btrahan.

"Project:" is indeed a reserved keyword.

You can see what the differential fields are here: <your instance>/config/edit/differential.fields/ Basically, "Field Name:" is going to be reserved in the templates to do the magical parsing stuff.

You should probably track T6030 as that will make this more configurable.