Invalid branch names not handled

Bug #261675 reported by Sean Hodges
2
Affects Status Importance Assigned to Milestone
Revisioner
Fix Committed
High
Hendrik Kaju

Bug Description

Running a command with an invalid branch name as the argument throws an exception.

To reproduce, send a non-existent branch name to the "info" command:

sean@metis:~/Documents/Revisioner/src$ revisioner-cli info pretendproject
Traceback (most recent call last):
  File "/usr/bin/revisioner-cli", line 107, in <module>
    cli.info(branch)
  File "/usr/bin/revisioner-cli", line 63, in info
    self.branches[name].info()
KeyError: 'pretendproject'

Revision history for this message
Hendrik Kaju (hkaju) wrote :

Should be fixed with revision 13

Changed in revisioner:
assignee: nobody → hkaju
importance: Undecided → High
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.