aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Transitioned severity to Command-format, also added Command._get_*()W. Trevor King2009-12-1417-194/+208
| | | | | | | | | | | | | | The old .requires_* thing was rediculous. The new ._get_*() callbacks allow the caller to provide a means for getting the expensive structures, which the command can use, or not, as required. This will also make it easier to implement the completion callbacks. The callbacks should probably have matching .set_*() methods, to avoid the current cache tweaking cmd._storage = ... etc. But that can wait for now...
* Transitioned remove to Command-formatW. Trevor King2009-12-142-42/+53
|
* Transitioned new to Command-formatW. Trevor King2009-12-142-49/+59
|
* Transitioned html to Command-formatW. Trevor King2009-12-143-119/+148
|
* Transitioned help to Command-formatW. Trevor King2009-12-144-43/+57
|
* Transitioned merge to Command-formatW. Trevor King2009-12-146-82/+107
|
* Transitioned import_xml to Command-formatW. Trevor King2009-12-144-185/+205
|
* Removed email_bugs, to be replaced by assorted storage backends.W. Trevor King2009-12-141-239/+0
|
* Transitioned due to Command formatW. Trevor King2009-12-142-50/+53
|
* Transitioned depend to Command formatW. Trevor King2009-12-144-128/+165
|
* Transitioned comment to Command formatW. Trevor King2009-12-1415-255/+356
|
* Transitioned init to Command formatW. Trevor King2009-12-148-90/+110
|
* Added parse_user() calls to AssignW. Trevor King2009-12-143-31/+48
|
* Removed `be open` and `be close`. Alias `be status` instead.W. Trevor King2009-12-142-124/+0
| | | | | | | | | | For example, in Bash alias be-open='be status open' If you need to set options, this won't work, but command completion with misc/completion/be.bash should make typing out be status open not too painful ;).
* Transitioned assign to Command formatW. Trevor King2009-12-146-96/+132
|
* The VCS storage backends are all mostly working now.W. Trevor King2009-12-132-3/+1
| | | | | | | | | | | | | Running python test.py libbe.storage.vcs yields some EmptyCommit problems, an issue with bzr revision ids, and some trouble with git's remove(), but nothing too critical. On the bright side, now ./be list Detects and uses the bzr backend :). Onwards to moving over the remaining commands...
* Moved Arch over to Storage formatW. Trevor King2009-12-132-83/+135
|
* Move Darcs over to Storage format.W. Trevor King2009-12-132-74/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have to work around the same issue as mercurial (hg) issue 618. I can't find a Darcs bug report for this, but it's been fixed somewhere between 1.0.9 and 2.3.1. Example scripts demonstrating the bug: $ darcs=/usr/bin/darcs $ mkdir x; cd x; $darcs init; echo a > b; $darcs add b; \ $darcs record --all --author 'x <a@b.com>' --logfile b; \ echo z>b; $darcs record --all --author 'x <a@b.com>' --logfile b; \ echo g>b; $darcs record --all --author 'x <a@b.com>' --logfile b; \ cd ..; rm -rf x > /dev/null; $darcs --version Finished recording patch 'a' No changes! No changes! 1.0.9 (release) And showing it's been fixed: $ darcs=~/.cabal/bin/darcs $ mkdir x; cd x; $darcs init; echo a > b; $darcs add b; \ $darcs record --all --author 'x <a@b.com>' --logfile b; \ echo z>b; $darcs record --all --author 'x <a@b.com>' --logfile b; \ echo g>b; $darcs record --all --author 'x <a@b.com>' --logfile b; \ cd ..; rm -rf x > /dev/null; $darcs --version Finished recording patch 'a' Finished recording patch 'z' Finished recording patch 'g' 2.3.1 (release)
* Check for repo existence before initializing VCSW. Trevor King2009-12-131-2/+4
|
* Adjust Bzr._vcs_revision_id for 1-indexed revision ids.W. Trevor King2009-12-131-1/+1
|
* Adjust Hg._vcs_revision_id for 1-indexed revision ids.W. Trevor King2009-12-131-0/+2
|
* Don't require new revisions on empty commits.W. Trevor King2009-12-131-4/+7
| | | | | | | | | | | | | | | | | | | For example, hg can't: $ mkdir x; cd x; x$ hg init; x$ echo a> b; hg add b; x$ hg commit -m 'r1'; x$ hg commit -m 'r2'; nothing changed x$ hg log; changeset: 0:e30558c36fca tag: tip user: W. Trevor King <wking@drexel.edu> date: Sun Dec 13 19:48:47 2009 -0500 summary: hi x$ cd ..; rm -rf x We shouldn't need this functionality anyway ;).
* Work around mercurial (hg) issue 618.W. Trevor King2009-12-131-1/+13
|
* Don't regexp out the short-revid in Git._vcs_commit()W. Trevor King2009-12-131-8/+2
| | | | | | | | | | | The output version strings change: Version 1.5.4.3: Created initial commit 217efa7: MESSAGE Created commit acb3066: MESSAGE Version 1.6.4.4: [master (root-commit) c5b48cf] MESSAGE [master 66a48c1] MESSAGE Instead, get the full revid, and look for its beginning in the output.
* Fix Git._vcs_revision_id() offset bug.W. Trevor King2009-12-133-6/+13
|
* Handle non-int args to VCS.revision_id at the VCS level.W. Trevor King2009-12-132-4/+5
|
* Adjust Hg._vcs_revision_id to bail cleanly on non-int revidsW. Trevor King2009-12-132-0/+5
|
* Use detect rather than catching errors in _vcs_root().W. Trevor King2009-12-132-56/+11
|
* .bzr transition.W. Trevor King2009-12-133-37/+58
|
* More fixes for libbe.storage.vcs.hg + .git transition.W. Trevor King2009-12-134-64/+78
|
* Fixes to get libbe.storage.vcs.hg passing tests.W. Trevor King2009-12-131-2/+3
|
* Converted libbe.storage.vcs.hg to new Storage format.W. Trevor King2009-12-133-64/+82
|
* Rearrange libbe.ui.command_line.CmdOptionParser._add_option() for Python 2.5W. Trevor King2009-12-131-14/+15
| | | | | | | | | | | | | | Python 2.6 doesn't mind, but 2.5 doesn't like kwargs after a * expansion: $ ./be list Traceback (most recent call last): File "./be", line 5, in <module> import libbe.ui.command_line File "/home/wking/src/fun/be/be.restructure/libbe/ui/command_line.py", line 63 *opt_strings, action='callback', dest=dest, ^ SyntaxError: invalid syntax
* Converted libbe.storage.vcs.base to new Storage format.W. Trevor King2009-12-13499-680/+709
|
* Moved be to libbe.ui.command_line and transitioned to Command format.W. Trevor King2009-12-1214-268/+375
|
* Use get_input/output_encoding() in libbe.command.base.CommandW. Trevor King2009-12-121-2/+3
|
* Added libbe.ui.util.user for managing user ids.W. Trevor King2009-12-125-57/+99
|
* Moved command completion from libbe.ui.util to libbe.command.utilW. Trevor King2009-12-124-80/+79
|
* Added libbe.command.base (with Command class) and moved list command to new ↵W. Trevor King2009-12-1212-320/+579
| | | | format.
* Moved bugdir, bug, and comment over to new id implementation.W. Trevor King2009-12-104-296/+171
|
* Rethought libbe.util.id moduleW. Trevor King2009-12-091-40/+254
|
* Reworked test.py to handle deeper directory structureW. Trevor King2009-12-085-44/+69
|
* Moved properties.py and settings_object.py to libbe/storage/util/W. Trevor King2009-12-086-8/+21
|
* Transitioned bugdir.py to new storage format.W. Trevor King2009-12-088-625/+618
|
* Transitioned bug.py to new storage format.W. Trevor King2009-12-082-68/+57
|
* Transitioned comment.py to new storage format.W. Trevor King2009-12-083-73/+53
|
* Use .storage.is_read/writeable() rather than .sync_with_disk() in ↵W. Trevor King2009-12-081-8/+8
| | | | settings_object.py
* Use mapfile to only create & parse mapfile strings, not filesW. Trevor King2009-12-081-10/+0
|
* Extended libbe.storage.base for separate read/write control.W. Trevor King2009-12-081-36/+94
| | | | | | | | | | | | | | Rather than just having .read_only to set write permissions and assuming that read was always legal. We also added user and backend control of both readable and writeable: do you want to read/write? and can you read/write? Specialized NotSupported into NotWriteable and NotReadable. Added automatic unicode encoding on .set(), and decode option on .get().
* Extend libbe.util.id to handle id (path) creation.W. Trevor King2009-12-081-3/+46
|