]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Show "Fnnn" number in "arc upload"
authorepriestley <git@epriestley.com>
Sat, 21 Jul 2012 13:44:21 +0000 (06:44 -0700)
committerepriestley <git@epriestley.com>
Sat, 21 Jul 2012 13:44:21 +0000 (06:44 -0700)
Summary: We don't show the "Fnnn" number, but should.

Test Plan:
```$ arc upload README --conduit-uri=http://local.aphront.com:8080/
Uploading 'README'...
  F121 README: http://local.aphront.com:8080/file/data/fnu76irnwftin4akjpxv/PHID-FILE-yrjeblelwq6rv5a5gjko/README

Done.```

Reviewers: phleet, btrahan, vrana

Reviewed By: btrahan

CC: aran
Differential Revision: https://secure.phabricator.com/D3023

src/workflow/ArcanistUploadWorkflow.php

index ea108259405f29f1522104ea5321d774612ed5d7..c51126c4403d5f788ee453581ca4111429ac02c2 100644 (file)
@@ -104,7 +104,8 @@ EOTEXT
       $results[$path] = $info;
 
       if (!$this->getJSON()) {
-        echo "  {$name}: ".$info['uri']."\n\n";
+        $id = $info['id'];
+        echo "  F{$id} {$name}: ".$info['uri']."\n\n";
       }
     }