Circumstances
- I have a topic branch test branched off master
- 2 commits went on it and I called arc diff a couple times: the generated diffs are OK
- I merged master into it (there was an intentional conflict which I solved)
- I pushed the topic branch to the repo
- I made another commit on the topic branch but didn't push (so the topic branch is 1 commit behind its remote ref)
Bug
When you call arc which, it indicates 2 problems:
- It picks the wrong base commit to diff against: it says "07042b690e7af034 Merge branch 'master' into test" instead of using the branch point of the topic branch
- It says a new revision will be created even though I'm still on the same topic branch which already has a revision
Repo topology
Output of arc which
$ arc which REPOSITORY To identify the repository associated with this working copy, arc followed this process: Configuration value "repository.callsign" is empty. This repository has no VCS UUID (this is normal for git/hg). The remote URI for this working copy is "git@github.com:lifeonairteam/test.git". Found a unique matching repository. This working copy is associated with the Test repository. COMMIT RANGE If you run 'arc diff', changes between the commit: 07042b690e7af034 Merge branch 'master' into test ...and the current working copy state will be sent to Differential, because it is the merge-base of 'origin/test' (the Git upstream of the current branch) HEAD. You can see the exact changes that will be sent by running this command: $ git diff 07042b690e7af034..HEAD These commits will be included in the diff: 0131fbd6025dd3d1 Update MATCHING REVISIONS These Differential revisions match the changes in this working copy: (No revisions match.) Since there are no revisions in Differential which match this working copy, a new revision will be created if you run 'arc diff'.