Commit 69391d0d authored by Bhanuprakash Modem's avatar Bhanuprakash Modem Committed by Arkadiusz Hiler
Browse files

git-pw: Print the correct revision when applying with --revision

When running "git pw apply --revision N SERIES_ID" it always says
that it applies the newest revision even though it does the correct
thing - it applies the requested one.

This patch fixes the logic to print the correct revision.

This fixes #22

Signed-off-by: Bhanuprakash Modem's avatarBhanuprakash Modem <>
Signed-off-by: default avatarArkadiusz Hiler <>
parent e3ad62df
Pipeline #83197 passed with stage
in 2 minutes and 6 seconds
...@@ -635,7 +635,7 @@ class GitPatchwork(object): ...@@ -635,7 +635,7 @@ class GitPatchwork(object):
try: try:
(series, revision) = self.cmd_get_series_revision() (series, revision) = self.cmd_get_series_revision()
print('Applying series: %s (rev %d)' % (, print('Applying series: %s (rev %d)' % (,
series.version)) revision.rev))
return'/mbox/')) return'/mbox/'))
except HttpError as e: except HttpError as e:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment