Benjamin West added the comment:
https://gist.github.com/1202975#file_test_opt_subcommand.py
I sketched out a sloppy test earlier. I think this test is probably not quite
comprehensive enough, and I'm not sure it fits into the python style either. I
suppose there are other tests I can
Benjamin West added the comment:
Ok, here's a rough attempt at stubbing this out against a python checkout.
Will try to look at adding tests.
(BTW, subsequent GETs should not modify the bug tracker... this seems like a
bug since GET should be idempotent, but SFTN from the double po
Benjamin West added the comment:
Ok, here's a rough attempt at stubbing this out against a python checkout.
Will try to look at adding tests.
(BTW, subsequent GETs should not modify the bug tracker... this seems like a
bug since GET should be idempotent, but SFTN from the double po
Benjamin West added the comment:
Thanks Eric. I was thrown by this document: http://wiki.python.org/moin/Git
which describes fetching the sources from SVN using git. I'm comfortable doing
either, but it doesn't resolve my confusion.
The version of argparse in the python check
Benjamin West added the comment:
Thanks Eric. I was thrown by this document: http://wiki.python.org/moin/Git
which describes fetching the sources from SVN using git. I'm comfortable doing
either, but it doesn't resolve my confusion.
The version of argparse in the python check
Benjamin West added the comment:
Ok, Steven, that sounds reasonable.
I checked out git-svn python and started comparing diffs... I'm a little
confused. What version of argparse should be patched to provide this feature?
My HG version from https://code.google.com/p/argparse/ seems to co
Benjamin West added the comment:
Ok, Steven, that sounds reasonable.
I checked out git-svn python and started comparing diffs... I'm a little
confused. What version of argparse should be patched to provide this feature?
My HG version from https://code.google.com/p/argparse/ seems to co
Benjamin West added the comment:
https://github.com/bewest/argparse/tree/bewest
https://bitbucket.org/bewest/argparse/changesets
I think this does the right thing.
--
hgrepos: +69
___
Python tracker
<http://bugs.python.org/issue9
Benjamin West added the comment:
I spent some time looking at this, as I was interested in
using this pattern to simulate what git and hg do. I
considered a few modifications and then found this bug. I
think the default keyword passed to
_SubParsersAction.__init__ makes sense.
I started on a