aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
Commit message (Collapse)AuthorAgeFilesLines
* fixed created tag handling in import-xmlValtteri Kokkoniemi2011-04-161-0/+4
|
* Cleanup libbe.util.subproc.Pipe docstring.W. Trevor King2011-04-151-8/+8
|
* get_fallback_fullname falls back to get_fallback_username if no interesting ↵W. Trevor King2011-04-141-2/+3
| | | | fullname is set.
* get_output_encoding falls back to get_encoding if sys.__stdout__ is redirected.W. Trevor King2011-04-141-1/+1
|
* get_fallback_email() now uses the EMAIL environmental variable (if set).W. Trevor King2011-04-141-3/+2
| | | | | This patch is based on Julien Muchembled's suggestions, which are in turn based on the related Git code in git.git/ident.c.
* Add libbe.ui.util.user.get_fallback_fullname() and use pwd when possible.W. Trevor King2011-04-143-6/+28
| | | | This patch is based on Julien Muchembled's pwd suggestions.
* Fix command-line encoding processing.W. Trevor King2011-04-082-15/+36
| | | | | | | | | | | | | | | | | | | | | | | String command-line options are converted to unicode using the input encoding. We use the fact that Python sets up the original sys.stdout to determine the terminal encoding. This should fix Anders Sneckenborg's issues with Swedish characters: C:\temp\slask4>be new "Svenska tecken åäö" Created bug with ID 6be/5c3 C:\temp\slask4> C:\temp\slask4> C:\temp\slask4>be list ERROR: 'ascii' codec can't decode byte 0xe5 in position 15: ordinal not in range(128) You should set a locale that supports unicode, e.g. export LANG=en_US.utf8 See http://docs.python.org/library/locale.html for details
* Work around bzr filelocking issue on Windows.W. Trevor King2011-02-242-2/+7
|
* Local imports and better missing-client detection in client-based VCS classes.W. Trevor King2011-02-224-20/+33
|
* Remove `--complete` from command-line completion unit test.W. Trevor King2011-02-221-1/+0
| | | | | | | | | | This should have been done alongside: commit b64851e3eb706b7b57503a0a605e0984e443747c Author: Robert Lehmann <mail@robertlehmann.de> Date: Fri Nov 26 08:34:35 2010 +0100 Exclude --complete from completion.
* Correct version for recent bzrlib fix.W. Trevor King2011-02-221-9/+9
| | | | | | | | | | | | | | | 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):
* Don't call cmd.cleanup_now() for recent Bazaar versions.W. Trevor King2011-02-221-9/+18
| | | | | | | | | | | | | | | | | | | 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.
* Remove commented code from html.pyChris Ball2011-02-221-3/+0
|
* Left aligned the table cellsGianluca Montecchi2011-01-251-4/+4
|
* New html output for html commandGianluca Montecchi2011-01-241-53/+209
|
* Merge commit 'refs/merge-requests/3' of git://gitorious.org/be/beChris Ball2011-01-087-11/+24
|\
| * Respected all sorting criteria, not only the last.Robert Lehmann2010-11-261-1/+1
| |
| * Change status on assignment of open bugs.Robert Lehmann2010-11-261-0/+2
| | | | | | | | | | | | | | 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.
| * Add `mine' sorting criteria showing bugs assigned to yourself first.Robert Lehmann2010-11-261-0/+6
| |
| * Safeguard List._sort_bugs from accumulating values in its default parameters.Robert Lehmann2010-11-261-1/+3
| |
| * Use a clean getattr() instead of eval().Robert Lehmann2010-11-261-1/+1
| |
| * Exclude --complete from completion.Robert Lehmann2010-11-261-1/+2
| |
| * Refrain from committing outstanding changes.Robert Lehmann2010-11-211-1/+1
| | | | | | | | This makes be-commit act more like git-commit.
| * Provide context in comments editor.Robert Lehmann2010-11-211-3/+5
| |
| * Fix list --important to actually apply a filter.Robert Lehmann2010-11-141-4/+4
| |
* | Bumped to version 1.0.01.0.0Chris Ball2011-01-0861-62/+69
| |
* | Fix unittest for `be show` after 22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728.W. Trevor King2010-12-061-3/+3
| |
* | Make libbe.storage.vcs.darcs.Darcs._vcs_listdir() more robust.W. Trevor King2010-12-061-2/+3
| | | | | | | | | | | | | | | | | | | | 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.
* | Run cmd.cleanup_now() after executing bzr commands.W. Trevor King2010-12-061-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Adjust `be show --xml` since changes to version_info after Bzr->Git migration.W. Trevor King2010-12-061-2/+1
|/
* Make dependency tree output respect --show-status/--show-summary flags.W. Trevor King2010-10-281-6/+6
|
* Move Filter, parse_status, and parse_severity from list to depend.W. Trevor King2010-10-282-67/+68
| | | | This breaks an import dependency cycle.
* libbe.command.depend now shares libbe.command.list's status/severity parsing ↵W. Trevor King2010-10-282-38/+35
| | | | for consistency.
* Fixed `list --sort ...` bug.W. Trevor King2010-10-281-1/+3
|
* Add `list --sort time` test reproducing Gianluca's bug.W. Trevor King2010-10-281-0/+1
|
* Ran update_copyright.py.W. Trevor King2010-10-218-6/+8
|
* Strip all whitespace from right side of the VCS storage version string.W. Trevor King2010-09-051-1/+1
| | | | The old method failed with Windows-style \r\n endlines, etc.
* Default to "unknown" version info if libbe._version is missing.W. Trevor King2010-09-052-5/+13
|
* Remove useless children[i] from libbe.storage.vcs.base.VCS._children().W. Trevor King2010-09-051-1/+0
|
* Don't assume len(os.path.sep) == 1 in libbe.storage.vcs.base.W. Trevor King2010-09-051-4/+4
|
* Fix "no attribute '_get_bugdir'" bug in `be help severity`.Marien Zwart2010-08-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 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). ...
* Avoid loading the whole bugdir when calling `be html -e`.W. Trevor King2010-07-141-3/+5
| | | | | This cleans up Mathieu Clabaut's fix to the html_gen definition problems in `be html -e`.
* Merge remote branch 'matclab/master'W. Trevor King2010-07-141-4/+4
|\
| * Exception when doing 'be html -e'Mathieu Clabaut2010-07-121-4/+4
| | | | | | | | 'html_gen' was referenced before assignment.
* | Make Gianluca's bug status display optional for `be depend`.W. Trevor King2010-07-141-14/+22
| | | | | | | | | | | | | | | | 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.
* | Updated the changes following Chris Rewviewgian2010-07-071-3/+3
| |
* | Added the bug summary to the output of the 'be depend' commandGianluca2010-07-071-2/+2
|/
* Ah, restored altered dirname code to Monotone's root method.W. Trevor King2010-06-271-1/+5
| | | | | | | | | | | | 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 ;).
* Fixed Monotone driver rooting for interface versions >= 8.0.W. Trevor King2010-06-271-11/+8
| | | | | | | I'm not sure where the dirname manipulation came from, but it was screwing things up ;). Also some argument order and indentation cleanups.
* Use _invoke_client (vs. old _u_invoke_client) for Monotone get_workspace_root.W. Trevor King2010-06-261-1/+1
| | | | | | | | | | | | | | | | 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']