Empty branches.db breaks revisioner-cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Revisioner |
Fix Committed
|
High
|
Hendrik Kaju |
Bug Description
On first installation, running any commands other than "add" creates an empty branches.db, which in turn breaks the front-end.
The example below describes running "revisioner-cli help" twice:
sean@metis:
sean@metis:
Revisioner CLI version 0.1
Usage: revisioner <command>
List of available commands:
help - Display this help message
add - Add a new branch
remove <branch name> - Remove an existing branch
push <branch name> - Push new revisions of the specified branch
push-all - Push new revisions of all managed branches
pull <branch name> - Pull new revisions of the specified branch
pull-all - Pull new revisions of all managed branches
info <branch name> - Display info about the specified branch
list - List all managed branches
sean@metis:
Traceback (most recent call last):
File "/usr/bin/
cli = CLI()
File "/usr/bin/
self.load()
File "/usr/bin/
self.branches = pickle.load(db)
File "/usr/lib/
return Unpickler(
File "/usr/lib/
dispatch[
File "/usr/lib/
raise EOFError
EOFError
Work-around:
Delete the broken ~/.revisioner/
Fixed in revision 12