Fix posting of perforce paths.
Review Request #5794 — Created May 9, 2014 and submitted
The path behavior for rbt post was broken in a couple ways, probably for quite
some time. The first issue was that we had changed the `p4 change` usage to use
marshalled results, but therun_p4
method didn't respect the ignore_errors flag
when marshalling, and would calldie()
. Once I fixed this, the code that checks
the status of the changelist couldn't cope with error states. With these fixes,
_get_changelist_status
will returnNone
, which will causeparse_revision_spec
to correctly determine that the given path is not actually a revision.
Ran unit tests.