hgview #259592 hgview crashes on "wrong" usage [open]
I expected something like: $ hg diff src/pylint # works fine ... instead :
I can't get the ReST to generate descend layout, so skipping the full traceback... | |
priority | important |
---|---|
type | bug |
done in | <not specified> |
closed by | <not specified> |
Comments
-
2014/07/30 20:56, written by pydavid
-
2014/07/31 07:14, written by anclin
add commentconsider using a "plain text" content instead. (for the traceback)
here you are:
Traceback (most recent call last):
File "/usr/bin/hgview", line 38, in <module>
main()
File "/usr/lib/python2.7/dist-packages/hgviewlib/application.py", line 225, in main
sys.exit(start(repo, opts, args, parser.error))
File "/usr/lib/python2.7/dist-packages/hgviewlib/application.py", line 173, in start
app = Application(repo, opts, args)
File "/usr/lib/python2.7/dist-packages/hgviewlib/curses/application.py", line 46, in __init__
super(HgViewUrwidApplication, self).__init__(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/hgviewlib/application.py", line 83, in __init__
self.choose_viewer()
File "/usr/lib/python2.7/dist-packages/hgviewlib/application.py", line 88, in choose_viewer
filename = rootpath(self.repo, self.opts.rev, self.args[0])
File "/usr/lib/python2.7/dist-packages/hgviewlib/util.py", line 86, in rootpath
ctx = repo[rev]
TypeError: 'NullRepo' object has no attribute '__getitem__'