[PATCH 04/21] git p4: fix error message when "describe -s" fails
- From
- Pete Wyckoff <pw@padd.com>
- Date
- Sep 28, 2012, 12:04 UTC
- Message-ID
- <1348833865-6093-5-git-send-email-pw@padd.com>
- In-Reply-To
- <1348833865-6093-1-git-send-email-pw@padd.com>
The output was a bit nonsensical, including a bare %d. Fix it to make it easier to understand.
Signed-off-by: Pete Wyckoff <pw@padd.com> --- git-p4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/git-p4.py b/git-p4.py index eef5c94..d7ee4b4 100755 --- a/git-p4.py +++ b/git-p4.py @@ -2679,7 +2679,8 @@ class P4Sync(Command, P4UserMap): if r.has_key('time'): newestTime = int(r['time']) if newestTime is None: - die("\"describe -s\" on newest change %d did not give a time") + die("Output from \"describe -s\" on newest change %d did not give a time" % + newestRevision) details["time"] = newestTime self.updateOptionDict(details)
-- 1.7.12.1.403.g28165e1