Ryan Brown | 12 Dec 2011 12:16
Picon

Using be with windows

I'm struggling to work out why I'm unable my init the mercurial repo,

The Hg repo is stored in: C:\Users\fanboy\fanboy-adblock-list

I'm using Python 2.7.2/PyYAML (32bit, since theres no 64 bit PyYAML).
Am I missing something?

http://pastebin.com/raw.php?i=qJ1jAW1X

C:\Users\fanboy\be>python be init ..\fanboy-adblock-list
Traceback (most recent call last):
  File "be", line 26, in <module>
    sys.exit(libbe.ui.command_line.main())
  File "C:\Users\fanboy\be\libbe\ui\command_line.py", line 333, in main
    ret = dispatch(ui, command, args)
  File "C:\Users\fanboy\be\libbe\ui\command_line.py", line 264, in dispatch
    options,args = parser.parse_args(args)
  File "C:\Users\fanboy\be\libbe\ui\command_line.py", line 129, in parse_args
    and self.command.args[-1].repeatable == False:
IndexError: list index out of range

C:\Users\fanboy\be>python be --repo C:\Users\fanboy\fanboy-adblock-list init
Traceback (most recent call last):
  File "be", line 26, in <module>
    sys.exit(libbe.ui.command_line.main())
  File "C:\Users\fanboy\be\libbe\ui\command_line.py", line 333, in main
    ret = dispatch(ui, command, args)
  File "C:\Users\fanboy\be\libbe\ui\command_line.py", line 265, in dispatch
    ret = ui.run(command, options, args)
  File "C:\Users\fanboy\be\libbe\command\base.py", line 535, in run
(Continue reading)

W. Trevor King | 24 Jan 2012 14:38
Picon
Favicon

Re: Using be with windows

Ryan,

Hmm, looks like this got lost in my INBOX.

On Tue, Dec 13, 2011 at 12:16:45AM +1300, Ryan Brown wrote:
> I'm struggling to work out why I'm unable my init the mercurial repo,
> 
> The Hg repo is stored in: C:\Users\fanboy\fanboy-adblock-list
> …

OK.

> C:\Users\fanboy\be>python be init ..\fanboy-adblock-list
> Traceback (most recent call last):
>   …
>   File "C:\Users\fanboy\be\libbe\ui\command_line.py", line 129, in parse_args
>     and self.command.args[-1].repeatable == False:
> IndexError: list index out of range

That error is expected, since `be init` doesn't take any positional
arguments.

> C:\Users\fanboy\be>python be --repo C:\Users\fanboy\fanboy-adblock-list init
> Traceback (most recent call last):
>   …
>   File "C:\Users\fanboy\be\libbe\storage\vcs\hg.py", line 109, in _vcs_root
>     return self._u_invoke_client('root', cwd=path)
>   File "C:\Users\fanboy\be\libbe\storage\vcs\hg.py", line 90, in
> _u_invoke_client
>     mercurial.dispatch.dispatch(fullargs)
(Continue reading)


Gmane