| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than guessing from the output of `bzr tags`, I actually looked
in the realease notes and tracked the removal of run_direct() to
2.2b2, which is confirmed by the r5146 patch itself:
bzr.dev $ ./bzr log -p -n 0 -r 5146 | grep -1 deprec
+
+ @deprecated_method(deprecated_in((2, 2, 0)))
def run_direct(self, *args, **kwargs):
--
+
+ @deprecated_method(deprecated_in((2, 2, 0)))
def run_direct(self, *args, **kwargs):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug reported by Michael Chaffin:
> C:\XXX\ZZZ>be init
> Traceback (most recent call last):
> ...
> AttributeError: 'cmd_root' object has no attribute '_operation'
Due to changes in bzrlib:
revno: 5146 [merge]
committer: Canonical.com Patch Queue Manager <pqm@pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2010-04-12 04:09:46 +0100
So for versions of bzr since then, we don't have to worry about
calling cleanup_now() anymore.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
After a bug has been assigned from status `open' it is no longer
eligible for that status as described:
A working bug that has not been assigned to a developer.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This makes be-commit act more like git-commit.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The old version returned [] (for Darcs 2.5) on
darcs show files --no-files --patch 'Initial commit' .be
(called in `be diff` for `test_usage.sh darcs`), because darcs
returned the paths prefixed with './' (e.g. `./.be`, not `.be`). By
calculating relative paths and using the relative paths to determine
which files belong to the directory, we can handle both prefixed and
plain paths.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise
be remove ...
blocks if it needs to remove multiple files, since
bzrlib.builtins.cmd_remove needs write locks, and the second remove
will try to aquire the lock that the first aquire hadn't released. If
we force the release, the lock will be available for the second (and
later) removal.
It's not a problem to call cleanup_now() too often, because calling it
clears the cleanup command stack, so I just added explicit cleanups
after every bzr .run() call.
|
|/ |
|
| |
|
|
|
|
| |
This breaks an import dependency cycle.
|
|
|
|
| |
for consistency.
|
| |
|
| |
|
| |
|
|
|
|
| |
The old method failed with Windows-style \r\n endlines, etc.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug and patch submitted by Marien Zwart. I can't think of any side
effect issues this might raise, so I'm committing it ;). Excerpts
from Marien's email below.
From: Marien Zwart <...>
Date: Tue, 10 Aug 2010 17:45:06 +0200
Subject: [Be-devel] "be help severity" fails (traceback)
...
In current git (d63ec5fd3eca61ea53d06a96bfb52170111fc25d) "be help
severity" produces the following:
Traceback (most recent call last):
...
AttributeError: 'Severity' object has no attribute '_get_bugdir'
...
but I am not sure if this has any unintended side effects, so I'd prefer
not to submit this as a merge request (for someone more familiar with
the code to fix this instead).
...
|
|
|
|
|
| |
This cleans up Mathieu Clabaut's fix to the html_gen definition
problems in `be html -e`.
|
|\ |
|
| |
| |
| |
| | |
'html_gen' was referenced before assignment.
|
| |
| |
| |
| |
| |
| |
| |
| | |
You might not want the bug status displayed, e.g. if you were writing
a script that parsed the output of `be depend`.
The new implementation is better anyway since it avoids redundant
display definitions for blocks vs. blocked by.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous implementation used
cwd=path
which would fail for non-directory paths.
The implementation before that was missing the not from
if not os.path.isdir(path):
dirname = os.path.dirname(path)
which meant it found the dirname when it didn't need to, and not when
it did ;).
|
|
|
|
|
|
|
| |
I'm not sure where the dirname manipulation came from, but it
was screwing things up ;).
Also some argument order and indentation cleanups.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes Chris'
======================================================================
ERROR: Adding entries with the same ID should not increase the number
of children.
----------------------------------------------------------------------
Traceback (most recent call last):
...
CommandError: Command failed (1):
mtn: misuse: workspace required but not found
while executing
['mtn', 'automate', 'get_workspace_root']
|
| |
|
|
|
|
| |
test_get_previous_children
|
|
|
|
|
|
|
|
| |
It had been catching exceptions from ._vcs_version, but ._vcs_version
should catch its own exceptions.
Also use cached results from .version in Darcs and
Bzr.version_cmp() rather than calling ._vcs_version directly.
|
|
|
|
|
|
|
|
|
|
|
| |
This repeats:
commit 5e769027075ce0f95d5cf9006d097f7fe7d8b38d
Author: W. Trevor King <wking@drexel.edu>
Date: Mon Dec 14 01:13:05 2009 -0500
Removed `be open` and `be close`. Alias `be status` instead.
...
which somehow was clobbered in a merge.
|
|
|
|
|
|
|
|
|
|
|
| |
This catches them up with the removal of UsageError in
commit bf3d434b244c57556bec979acbc658c30eb58221
Author: W. Trevor King <wking@drexel.edu>
Date: Sat Dec 12 00:31:55 2009 -0500
Added libbe.command.base (with Command class) and moved list
command to new format.
I guess I don't make many mistakes entering those commands ;).
|
| |
|
| |
|
|
|
|
|
| |
The previous implementation would not show them unless an explicitly
matching regexp was passed in with --extra-strings.
|
|
|
|
|
|
| |
Previous implementation only matched if *every* regexp matched *every*
string. Current implementation matches is *any* regexp matches *any*
string.
|
|
|
|
|
| |
And broke out tagging functions in libbe.command.tag, so they are
accessible to other commands.
|