diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-29 10:39:09 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-29 10:39:09 -0500 |
commit | 268713c0e2ed76edd84a2196b5c14fe1bc4ff08a (patch) | |
tree | 41b41d539da8b9ca993d611eeafb0c0627640d0a /.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs | |
parent | b2d5da700c83f693191573c300aee1ffb80a8e98 (diff) | |
download | bugseverywhere-268713c0e2ed76edd84a2196b5c14fe1bc4ff08a.tar.gz |
Updated Darcs backend towards supporting .children(revision).
._vcs_isdir() and ._vcs_listdir() will need to parse the output of
darcs show files [options] --patch REVISION PATH
but both the --patch option and the PATH argument are new, and I can't
get a recent enough version of Darcs to compile on my system.
Theoretically they will work, but they remain untested for now.
I don't think it's worth rolling my own
darcs show files --patch REVISION
to support earlier versions of Darcs, since the only solution I can
think of now would be to check out the given revision and use
os.walk() or some such, and that would be really ugly...
Also added .version_cmp() for easy version comparison.
Reindented ._vcs_get_file_contents() to remove trailing elses since
the if clauses all contain returns.
Diffstat (limited to '.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs')
0 files changed, 0 insertions, 0 deletions