Skip to content

Commit

Permalink
- fix "ldiff" command, it crashed due to inexistent md5sum in linked …
Browse files Browse the repository at this point in the history
…package
  • Loading branch information
adrianschroeter committed Jan 4, 2012
1 parent 3aeff9e commit 4e7867e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osc/commandline.py
Expand Up @@ -3060,10 +3060,10 @@ def do_diff(self, subcmd, opts, *args):
baserev = linkinfo.get('baserev')
opts.revision = baserev
if pacs:
print "diff working copy against linked revision %s\n" % baserev
print "diff working copy against last commited version\n"
else:
print "diff commited package against linked revision %s\n" % baserev
run_pager(server_diff(self.get_api_url(), args[0], args[1], baserev,
run_pager(server_diff(self.get_api_url(), linkinfo.get('project'), linkinfo.get('package'), baserev,
args[0], args[1], linkinfo.get('lsrcmd5'), not opts.plain, opts.missingok))
return

Expand Down

0 comments on commit 4e7867e

Please sign in to comment.