aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/util
Commit message (Collapse)AuthorAgeFilesLines
* Added storage.Storage.storage_version() and command.InvalidStorageVersion.W. Trevor King2009-12-271-17/+7
| | | | Now commands automatically check for storage version compatibility.
* Fixed libbe.storage.util.upgradeW. Trevor King2009-12-271-54/+153
| | | | | | | | | | | | | Note that it only upgrades on-disk versions, so you can't use a non-VCS storage backend whose version isn't your command's current storage version. See #bea/110/bd1# for reasoning. To see the on-disk storage version, look at .be/version To see your command's supported storage version, look at be --full-version I added test_upgrade.sh to exercise the upgrade mechanism on BE's own repository.
* Fixed libbe.command.diff + ugly BugDir.duplicate_bugdir implementationW. Trevor King2009-12-154-39/+52
| | | | | | | | | | | | | | | | | | | | | 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.
* Transitioned comment to Command formatW. Trevor King2009-12-141-4/+4
|
* Converted libbe.storage.vcs.base to new Storage format.W. Trevor King2009-12-131-0/+242
|
* Moved be to libbe.ui.command_line and transitioned to Command format.W. Trevor King2009-12-121-4/+4
|
* Added libbe.ui.util.user for managing user ids.W. Trevor King2009-12-121-3/+2
|
* Moved properties.py and settings_object.py to libbe/storage/util/W. Trevor King2009-12-082-0/+1075
|
* Transitioned comment.py to new storage format.W. Trevor King2009-12-082-0/+94
|
* Use mapfile to only create & parse mapfile strings, not filesW. Trevor King2009-12-081-0/+116