[Bug 894368] Re: bzr crashes with NoSuchRevision when using non-"revno:" prefix on diff

Alexander Belchenko bialix at ukr.net
Fri Nov 25 10:50:20 UTC 2011


Jelmer Vernooij пишет:
> ** Visibility changed to: Public
> 
> ** Project changed: bzr => qbzr
> 
> ** Package changed: bzr (Ubuntu) => qbzr (Ubuntu)

Jelmer, I don't see how parsing of command-line options is related to 
QBzr. We don't invent any wheels here:

class cmd_qdiff(QBzrCommand, DiffArgProvider):
     """Show differences in working tree in a GUI window."""
     takes_args = ['file*']
     takes_options = [
         'revision',

         ^^^^^^^^^^^
That's standard global bzrlib revision option, isn't it?


** Project changed: qbzr => bzr

** Package changed: qbzr (Ubuntu) => bzr (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/894368

Title:
  bzr crashes with NoSuchRevision when using non-"revno:" prefix on diff

Status in Bazaar Version Control System:
  New
Status in “bzr” package in Ubuntu:
  New

Bug description:
  this crashes:

  bzr diff -r 38:../ec2

  this does not:

  bzr diff -r revno:38:../ec2

  from the documentation in help revisionspec, it
  seems like this should work.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: bzr 2.4.1-1ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
  Uname: Linux 3.0.0-13-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  BzrDebugFlags: set()
  BzrVersion: 2.4.1
  CommandLine: ['/usr/bin/bzr', 'qdiff', '-r', '38:../ec2']
  CrashDb: bzr
  Date: Thu Nov 24 11:05:31 2011
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  Locale: en_GB.UTF-8
  PackageArchitecture: all
  Platform: Linux-3.0.0-13-generic-x86_64-with-Ubuntu-11.10-oneiric
  ProcCmdline: /usr/bin/python /usr/bin/bzr qdiff -r 38:../ec2
  ProcEnviron:
   LANG=en_GB.UTF-8
   LANGUAGE=en_GB:en
   PATH=(custom, user)
   SHELL=/usr/local/plan9/bin/rc
  PythonVersion: 2.7.2
  SourcePackage: bzr
  Title: bzr crashed with NoSuchRevision in _iter_inventories(): CHKInventoryRepository('file:///home/username/go/src/pkg/launchpad.net/goamz/ec2-ec2test/.bzr/repository/') has no revision ('User Nameer.peppe at canonical.com-20111122143503-3s2ioxsiieufs50j',)
  UpgradeStatus: Upgraded to oneiric on 2011-11-23 (1 days ago)
  UserEncoding: UTF-8
  UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/894368/+subscriptions




More information about the foundations-bugs mailing list