aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Add entry points for functionality needed by CFBE (and probably other UIs)W. Trevor King2010-01-201-9/+12
|
* Updated copyright informationW. Trevor King2010-01-011-1/+15
|
* Fixed up the completion helpers in libbe.command.utilW. Trevor King2009-12-291-5/+74
| | | | | | | | | | This entailed a fairly thorough cleanup of libbe.util.id. Remaining unimplemented completion helpers: * complete_assigned() * complete_extra_strings() Since these would require scanning all (active?) bugs to compile lists, and I was feeling lazy...
* Fixed libbe.command.diff + ugly BugDir.duplicate_bugdir implementationW. Trevor King2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | duplicate_bugdir() works, but for the vcs backends, it could require shelling out for _every_ file read. This could, and probably will, be horribly slow. Still it works ;). I'm not sure what a better implementation would be. The old implementation checked out the entire earlier state into a temporary directory pros: single shell out, simple upgrade implementation cons: wouldn't work well for HTTP backens I think a good solution would run along the lines of the currently commented out code in duplicate_bugdir(), where a VersionedStorage.changed_since(revision) call would give you a list of changed files. diff could work off of that directly, without the need to generate a whole duplicate bugdir. I'm stuck on how to handle upgrades though... Also removed trailing whitespace from all python files.
* Transition to Command-format complete.W. Trevor King2009-12-151-1/+1
| | | | | | | | Well, except for going through and updating the _long_help() strings. $ python test.py libbe.command succeeds for everything except Diff and Subscribe, which is expected since I haven't fixed up libbe.diff yet.
* Transitioned depend to Command formatW. Trevor King2009-12-141-2/+3
|
* Transitioned comment to Command formatW. Trevor King2009-12-141-0/+18
|
* Transitioned assign to Command formatW. Trevor King2009-12-141-0/+2
|
* Moved be to libbe.ui.command_line and transitioned to Command format.W. Trevor King2009-12-121-4/+31
|
* Moved command completion from libbe.ui.util to libbe.command.utilW. Trevor King2009-12-121-0/+69