W. Trevor King [Fri, 8 Apr 2011 18:21:45 +0000 (14:21 -0400)]
Fix command-line encoding processing.
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
W. Trevor King [Sun, 6 Mar 2011 01:26:02 +0000 (20:26 -0500)]
Closed /773 (1.0) since we've made a 1.0.0 release.
W. Trevor King [Thu, 24 Feb 2011 22:34:40 +0000 (17:34 -0500)]
Work around bzr filelocking issue on Windows.
W. Trevor King [Thu, 24 Feb 2011 02:56:59 +0000 (21:56 -0500)]
Fix `IDs` and `Mercurial guide` links in docs.
W. Trevor King [Wed, 23 Feb 2011 02:02:11 +0000 (21:02 -0500)]
Local imports and better missing-client detection in client-based VCS classes.
W. Trevor King [Wed, 23 Feb 2011 01:59:53 +0000 (20:59 -0500)]
Remove `--complete` from command-line completion unit test.
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.
W. Trevor King [Tue, 22 Feb 2011 23:54:57 +0000 (18:54 -0500)]
Correct version for recent bzrlib fix.
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):
W. Trevor King [Tue, 22 Feb 2011 20:38:03 +0000 (15:38 -0500)]
Don't call cmd.cleanup_now() for recent Bazaar versions.
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.
Chris Ball [Tue, 22 Feb 2011 15:07:02 +0000 (10:07 -0500)]
Remove commented code from html.py
Chris Ball [Tue, 22 Feb 2011 15:06:10 +0000 (10:06 -0500)]
Merge commit 'refs/merge-requests/4' of git://gitorious.org/be/be
Gianluca Montecchi [Mon, 24 Jan 2011 23:07:12 +0000 (00:07 +0100)]
Left aligned the table cells
Gianluca Montecchi [Mon, 24 Jan 2011 21:47:32 +0000 (22:47 +0100)]
New html output for html command
W. Trevor King [Tue, 11 Jan 2011 03:43:50 +0000 (22:43 -0500)]
Numpydoc is distributed in Gentoo's science overlay.
W. Trevor King [Tue, 11 Jan 2011 03:35:23 +0000 (22:35 -0500)]
Update link to Numpy docstring guidelines.
W. Trevor King [Tue, 11 Jan 2011 03:30:11 +0000 (22:30 -0500)]
Use Docutils' rst2doc instead of DocBook XML to generate man page.
Chris Ball [Sun, 9 Jan 2011 01:54:44 +0000 (20:54 -0500)]
Merge commit 'refs/merge-requests/3' of git://gitorious.org/be/be
Chris Ball [Sun, 9 Jan 2011 01:40:32 +0000 (20:40 -0500)]
Bumped to version 1.0.0
Chris Ball [Sun, 9 Jan 2011 01:39:48 +0000 (20:39 -0500)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be
W. Trevor King [Mon, 6 Dec 2010 15:54:07 +0000 (10:54 -0500)]
W. Trevor King [Mon, 6 Dec 2010 15:43:49 +0000 (10:43 -0500)]
Make libbe.storage.vcs.darcs.Darcs._vcs_listdir() more robust.
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.
W. Trevor King [Mon, 6 Dec 2010 15:12:57 +0000 (10:12 -0500)]
Run cmd.cleanup_now() after executing bzr commands.
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.
W. Trevor King [Mon, 6 Dec 2010 13:54:25 +0000 (08:54 -0500)]
Adjust `be show --xml` since changes to version_info after Bzr->Git migration.
W. Trevor King [Mon, 6 Dec 2010 13:28:02 +0000 (08:28 -0500)]
Update release.py to generate .be/id-cache and remove update_copyright.py.
The log output from generating .be/id-cache might confuse new BE
users, so we should distribute the bug repo with a pre-built cache.
update_copyright.py isn't much use without the Git repo from which it
extracts authorship info, so we'll have a cleaner release tarball
without it.
W. Trevor King [Mon, 6 Dec 2010 12:51:07 +0000 (07:51 -0500)]
Cleanup linking from doc/tutorial.txt to email and HTTP docs.
Robert Lehmann [Fri, 26 Nov 2010 11:56:43 +0000 (12:56 +0100)]
Respected all sorting criteria, not only the last.
Robert Lehmann [Fri, 26 Nov 2010 08:49:46 +0000 (09:49 +0100)]
Change status on assignment of open bugs.
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.
Robert Lehmann [Fri, 26 Nov 2010 08:48:43 +0000 (09:48 +0100)]
Add `mine' sorting criteria showing bugs assigned to yourself first.
Robert Lehmann [Fri, 26 Nov 2010 08:47:46 +0000 (09:47 +0100)]
Safeguard List._sort_bugs from accumulating values in its default parameters.
Robert Lehmann [Fri, 26 Nov 2010 08:46:52 +0000 (09:46 +0100)]
Use a clean getattr() instead of eval().
Robert Lehmann [Fri, 26 Nov 2010 07:35:13 +0000 (08:35 +0100)]
Allow multiple words to be completed at once, eg. for assignees.
Robert Lehmann [Fri, 26 Nov 2010 07:34:35 +0000 (08:34 +0100)]
Exclude --complete from completion.
Robert Lehmann [Sun, 21 Nov 2010 19:01:24 +0000 (20:01 +0100)]
Refrain from committing outstanding changes.
This makes be-commit act more like git-commit.
Robert Lehmann [Sun, 21 Nov 2010 18:59:53 +0000 (19:59 +0100)]
Provide context in comments editor.
Robert Lehmann [Sun, 14 Nov 2010 20:45:26 +0000 (21:45 +0100)]
Fix list --important to actually apply a filter.
Dieter Plaetinck [Sun, 31 Oct 2010 08:45:45 +0000 (09:45 +0100)]
Clarify that bugs cannot contain multi-line descriptions
Chris Ball [Sun, 31 Oct 2010 10:30:26 +0000 (06:30 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be
W. Trevor King [Sat, 30 Oct 2010 13:54:29 +0000 (09:54 -0400)]
Add missing bugs & values from my copy of the old CFBE Mercurial repo.
Missing bugs
============
/bea/e23 (alpha) is equivalent to /9f9/d08 (in the Mercurial repo).
Similarly, /bea/76a (beta) is equivalent to /9f9/eb9. This is because
the Git and Mercurial repos made the 1.2->1.3 directory format upgrade
independently, and the 1.2 -> 1.3 upgrade converts target strings into
target bugs.
Mercurial:
changeset: 62:
ef4f395dc0ce
user: W. Trevor King <wking@drexel.edu>
date: Sun Dec 06 02:15:16 2009 -0500
summary: Upgraded BE repository to Bugs Everywhere Directory v1.3
[add .be/bugs/
d08caa3b-08ca-429b-98e7-
ab5da5226c92/values,
upgrade Bugs Everywhere Tree 1 0 -> Bugs Everywhere Directory v1.3
...]
Git:
commit
35c49dae09078efb1bbab9d5af4096d35c68adbf
Author: wking <wking@thialfi>
Date: Tue Jun 22 14:15:47 2010 -0400
Upgraded interfaces/web/.be to Bugs Everywhere Directory v1.4
...
[add interfaces/web/.be/
bea86499-824e-4e77-b085-
2d581fa9ccab/bugs/
e23d7982-7e32-4c78-b62e-
83ecc42b4cd7/values
upgrade Bugs Everywhere Tree 1 0 -> Bugs Everywhere Directory v1.4
...]
Missing comments
================
Basic comment life cycle
------------------------
commit
79ce26825a5a19678e0a26c5a5d78965732d24d3
Author: wking <wking@thialfi>
Date: Tue Jun 22 14:22:36 2010 -0400
Moved CFBE bugs from interfaces/web/.be into .be/
[move interfaces/web/.be/
bea86499-824e-4e77-b085-
2d581fa9ccab/bugs/
e645d562-6f84-4df2-b8ee-
86ef42546c16/comments/
aea21508-69c2-4d6b-ada1-
4fbadac14c56/body
to .be/
bea86499-824e-4e77-b085-
2d581fa9ccab/bugs/
e645d562-6f84-4df2-b8ee-
86ef42546c16/comments/
aea21508-69c2-4d6b-ada1-
4fbadac14c56/body
...]
commit
35c49dae09078efb1bbab9d5af4096d35c68adbf
Author: wking <wking@thialfi>
Date: Tue Jun 22 14:15:47 2010 -0400
Upgraded interfaces/web/.be to Bugs Everywhere Directory v1.4
...
[move interfaces/web/.be/ bugs/
e645d562-6f84-4df2-b8ee-
86ef42546c16/comments/
aea21508-69c2-4d6b-ada1-
4fbadac14c56/body
to interfaces/web/.be/
bea86499-824e-4e77-b085-
2d581fa9ccab/bugs/
e645d562-6f84-4df2-b8ee-
86ef42546c16/comments/
aea21508-69c2-4d6b-ada1-
4fbadac14c56/body
...]
commit
e9a713798fa7679fa4be6ccba40f77e3fdf3b538
Author: Chris Ball <cjb@t60>
Date: Sun Jun 20 19:27:36 2010 -0400
Remove the .be/ copy from inside cfbe dir
[remove interfaces/web/.be/bugs/
e645d562-6f84-4df2-b8ee-
86ef42546c16/comments/
aea21508-69c2-4d6b-ada1-
4fbadac14c56/body
...]
commit
46953e63dd929637f67a4d10065a3f28c403dbdf
Author: Steve Losh <steve@stevelosh.com>
Date: Sat Jan 31 02:24:31 2009 -0500
Implemented the single bug view.
[add .be/bugs/
e645d562-6f84-4df2-b8ee-
86ef42546c16/comments/
aea21508-69c2-4d6b-ada1-
4fbadac14c56/body
...]
Lost when
---------
The comments do not seem to have survived the
2eab4691ff80455cd0ca25b2c58fb3acb1dcbdeb merge:
$ git show --pretty=raw
2eab4691ff80455cd0ca25b2c58fb3acb1dcbdeb
commit
2eab4691ff80455cd0ca25b2c58fb3acb1dcbdeb
tree
b97ffb0ad8cdfeecc2182fe830e452fabda6eb1a
parent
39d9e788f7133a959f7594d7c8eb7985c4e6f847
parent
4592e1ae1165f74aba16cd76dc2f19197b81465a
author W. Trevor King <wking@drexel.edu>
1277430423 -0400
committer W. Trevor King <wking@drexel.edu>
1277430423 -0400
Merge CFBE bugs into the main BE bug repo
$ git diff
4592e1ae1165f74aba16cd76dc2f19197b81465a..
39d9e788f7133a959f7594d7c8eb7985c4e6f847 | grep -A 1 '^diff.*body'
...
diff --git a/.be/
bea86499-824e-4e77-b085-
2d581fa9ccab/bugs/
e645d562-6f84-4df2-b8ee-
86ef42546c16/comments/
aea21508-69c2-4d6b-ada1-
4fbadac14c56/body b/.be/
bea86499-824e-4e77-b085-
2d581fa9ccab/bugs/
e645d562-6f84-4df2-b8ee-
86ef42546c16/comments/
aea21508-69c2-4d6b-ada1-
4fbadac14c56/body
deleted file mode 100644
...
W. Trevor King [Sat, 30 Oct 2010 13:10:51 +0000 (09:10 -0400)]
Add .be/id-cache to .gitignore.
W. Trevor King [Sat, 30 Oct 2010 12:23:26 +0000 (08:23 -0400)]
Restore comment body for /bea/866/738 (lost on the CFBE merge?).
W. Trevor King [Thu, 28 Oct 2010 23:01:42 +0000 (19:01 -0400)]
Make dependency tree output respect --show-status/--show-summary flags.
W. Trevor King [Thu, 28 Oct 2010 22:55:41 +0000 (18:55 -0400)]
Move Filter, parse_status, and parse_severity from list to depend.
This breaks an import dependency cycle.
W. Trevor King [Thu, 28 Oct 2010 19:31:44 +0000 (15:31 -0400)]
libbe.command.depend now shares libbe.command.list's status/severity parsing for consistency.
W. Trevor King [Thu, 28 Oct 2010 17:29:16 +0000 (13:29 -0400)]
Fixed `list --sort ...` bug.
W. Trevor King [Thu, 28 Oct 2010 17:27:43 +0000 (13:27 -0400)]
Add `list --sort time` test reproducing Gianluca's bug.
W. Trevor King [Fri, 22 Oct 2010 18:49:59 +0000 (14:49 -0400)]
'be vXXX' -> 'be XXX' in Sphinx-generated docs to avoid git-hash confusion.
W. Trevor King [Fri, 22 Oct 2010 14:33:08 +0000 (10:33 -0400)]
Tell Makefile how to generate HTML versions of man pages.
W. Trevor King [Fri, 22 Oct 2010 14:18:11 +0000 (10:18 -0400)]
Document command line overrides for built documentation.
W. Trevor King [Fri, 22 Oct 2010 14:06:03 +0000 (10:06 -0400)]
Allow command line overrides for built documentation.
For example, to install without documentation, use:
$ make DOC= install
which overrides Makefile's default DOC definition, setting it to the
empty string.
Chris Ball [Fri, 22 Oct 2010 03:04:52 +0000 (23:04 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be
W. Trevor King [Thu, 21 Oct 2010 12:18:48 +0000 (08:18 -0400)]
Simpler undo message in release.py's help.
W. Trevor King [Thu, 21 Oct 2010 12:15:42 +0000 (08:15 -0400)]
release.set_vcs_name() now adjusts any vcs settings in the exported .be/.
Also call remove_makefile_libbe_version_dependencies() on the exported
Makefile.
W. Trevor King [Thu, 21 Oct 2010 12:04:02 +0000 (08:04 -0400)]
Ensure target_dir has trailing separator in release.export().
W. Trevor King [Thu, 21 Oct 2010 12:00:24 +0000 (08:00 -0400)]
Rename tag -> _tag in release.py to avoid collision with tag() function.
W. Trevor King [Thu, 21 Oct 2010 11:57:43 +0000 (07:57 -0400)]
Add `-a` option to `git commit` call in release.py.
W. Trevor King [Thu, 21 Oct 2010 11:51:00 +0000 (07:51 -0400)]
Use invoke() instead of Pipe() to run single commands in release.py.
W. Trevor King [Thu, 21 Oct 2010 11:44:03 +0000 (07:44 -0400)]
Updating copyright info in release.py can take a while. Let the user know.
W. Trevor King [Thu, 21 Oct 2010 11:39:22 +0000 (07:39 -0400)]
Ran update_copyright.py.
W. Trevor King [Thu, 21 Oct 2010 11:37:01 +0000 (07:37 -0400)]
Update ALIASES in update_copyright.py.
New 'gian <gian@grys.it>' for Gianluca and fix 'Marian' -> 'Marien' typo.
W. Trevor King [Thu, 21 Oct 2010 11:33:03 +0000 (07:33 -0400)]
Simpler (and faster) ChangeLog format in release.py.
W. Trevor King [Thu, 21 Oct 2010 11:29:06 +0000 (07:29 -0400)]
Update release.py for use with git-versioned BE.
Chris Ball [Mon, 18 Oct 2010 22:53:08 +0000 (18:53 -0400)]
Merge branch 'master' of physics.drexel.edu/~wking/code/git/be
Conflicts:
interfaces/web/web.py
W. Trevor King [Tue, 12 Oct 2010 19:25:45 +0000 (15:25 -0400)]
Point out that official packages may not be up to date.
W. Trevor King [Wed, 29 Sep 2010 01:31:21 +0000 (21:31 -0400)]
Add manpage/DocBook section to doc/doc.txt.
W. Trevor King [Wed, 29 Sep 2010 01:30:57 +0000 (21:30 -0400)]
Add dependency section to doc/install.txt.
W. Trevor King [Wed, 29 Sep 2010 01:29:34 +0000 (21:29 -0400)]
Wrap `rm` in the RM variable in doc/Makefile.
This is more consistent with the example set by the root Makefile.
W. Trevor King [Wed, 29 Sep 2010 01:25:43 +0000 (21:25 -0400)]
Converted man page source to DocBook V5.0.
This has the dual benefits of keeping up with the current DocBook
standard as well as removing the dependency on SGML parsers like
docbook-to-man and docbook2man which may not be available on all
systems. An XSLT processor and the DocBook style sheets are easier
dependencies to satisfy.
Chris Ball [Mon, 6 Sep 2010 23:04:19 +0000 (19:04 -0400)]
cfbe: API: fix editing a bug's target
Chris Ball [Mon, 6 Sep 2010 22:39:35 +0000 (18:39 -0400)]
cfbe: Remove "target" column from default bug list
As discussed at:
http://void.printf.net/pipermail/be-devel/2010-September/000626.html
Chris Ball [Mon, 6 Sep 2010 22:35:19 +0000 (18:35 -0400)]
cfbe: Fix assigned-to-None search
Chris Ball [Mon, 6 Sep 2010 22:26:59 +0000 (18:26 -0400)]
cfbe: typo: Unschdeuled -> Unscheduled
Chris Ball [Mon, 6 Sep 2010 22:14:04 +0000 (18:14 -0400)]
cfbe: API: implement search-by-target
Chris Ball [Mon, 6 Sep 2010 23:04:19 +0000 (19:04 -0400)]
cfbe: API: fix editing a bug's target
Chris Ball [Mon, 6 Sep 2010 22:39:35 +0000 (18:39 -0400)]
cfbe: Remove "target" column from default bug list
As discussed at:
http://void.printf.net/pipermail/be-devel/2010-September/000626.html
Chris Ball [Mon, 6 Sep 2010 22:35:19 +0000 (18:35 -0400)]
cfbe: Fix assigned-to-None search
Chris Ball [Mon, 6 Sep 2010 22:26:59 +0000 (18:26 -0400)]
cfbe: typo: Unschdeuled -> Unscheduled
Chris Ball [Mon, 6 Sep 2010 22:14:04 +0000 (18:14 -0400)]
cfbe: API: implement search-by-target
Chris Ball [Mon, 6 Sep 2010 19:54:10 +0000 (15:54 -0400)]
cfbe: API: bug.comment.From -> bug.comment.author
W. Trevor King [Mon, 6 Sep 2010 01:22:37 +0000 (21:22 -0400)]
Strip all whitespace from right side of the VCS storage version string.
The old method failed with Windows-style \r\n endlines, etc.
W. Trevor King [Mon, 6 Sep 2010 01:20:46 +0000 (21:20 -0400)]
Default to "unknown" version info if libbe._version is missing.
W. Trevor King [Sun, 5 Sep 2010 22:23:02 +0000 (18:23 -0400)]
Remove useless children[i] from libbe.storage.vcs.base.VCS._children().
W. Trevor King [Sun, 5 Sep 2010 22:14:18 +0000 (18:14 -0400)]
Don't assume len(os.path.sep) == 1 in libbe.storage.vcs.base.
W. Trevor King [Tue, 10 Aug 2010 18:13:27 +0000 (14:13 -0400)]
Made Marien's gentoo address an update_copyright.ALIAS for his recent gmail address.
Marien Zwart [Tue, 10 Aug 2010 18:04:41 +0000 (14:04 -0400)]
Fix "no attribute '_get_bugdir'" bug in `be help severity`.
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).
...
W. Trevor King [Thu, 15 Jul 2010 12:10:12 +0000 (08:10 -0400)]
Demoted #bea/
7cb42a60# (be list --this-version) to wishlist
W. Trevor King [Thu, 15 Jul 2010 11:30:44 +0000 (07:30 -0400)]
Fixed #bea/0a2# : Humanize empty result pages.
Added a special template for empty bug lists:
interfaces/web/templates/empty-list.html
W. Trevor King [Thu, 15 Jul 2010 10:56:13 +0000 (06:56 -0400)]
Tagged recently fixed #bea/206# as a CFBE-related bug.
W. Trevor King [Thu, 15 Jul 2010 10:38:56 +0000 (06:38 -0400)]
Fixed #bea/
206d9b07# : 'BugDir' object has no attribute 'bug_shortname' (cfbe)
Tested with a single bug attribute change and comment addition.
W. Trevor King [Wed, 14 Jul 2010 23:36:25 +0000 (19:36 -0400)]
Avoid loading the whole bugdir when calling `be html -e`.
This cleans up Mathieu Clabaut's fix to the html_gen definition
problems in `be html -e`.
W. Trevor King [Wed, 14 Jul 2010 23:31:15 +0000 (19:31 -0400)]
Merge remote branch 'matclab/master'
W. Trevor King [Wed, 14 Jul 2010 23:24:12 +0000 (19:24 -0400)]
Make Gianluca's bug status display optional for `be depend`.
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.
Mathieu Clabaut [Mon, 12 Jul 2010 14:32:01 +0000 (16:32 +0200)]
Exception when doing 'be html -e'
'html_gen' was referenced before assignment.
Chris Ball [Sun, 11 Jul 2010 18:01:37 +0000 (14:01 -0400)]
Add cfbe bug /206 from Gour
gian [Wed, 7 Jul 2010 07:03:18 +0000 (09:03 +0200)]
Updated the changes following Chris Rewview
Gianluca [Tue, 6 Jul 2010 22:24:20 +0000 (00:24 +0200)]
Added the bug summary to the output of the 'be depend' command
Thomas Keller [Sun, 27 Jun 2010 23:42:36 +0000 (19:42 -0400)]
Fixed mnt -> mtn typos in doc/spam.txt
W. Trevor King [Sun, 27 Jun 2010 14:47:11 +0000 (10:47 -0400)]
Ah, restored altered dirname code to Monotone's root method.
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 ;).
W. Trevor King [Sun, 27 Jun 2010 13:21:31 +0000 (09:21 -0400)]
Fixed Monotone driver rooting for interface versions >= 8.0.
I'm not sure where the dirname manipulation came from, but it
was screwing things up ;).
Also some argument order and indentation cleanups.
W. Trevor King [Sat, 26 Jun 2010 20:26:50 +0000 (16:26 -0400)]
Use _invoke_client (vs. old _u_invoke_client) for Monotone get_workspace_root.
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']
W. Trevor King [Sat, 26 Jun 2010 19:39:52 +0000 (15:39 -0400)]
Added CFBE invocation notes to doc/http.txt.
This closes #bea/c72# and its dependent tag #bea/e23#.
W. Trevor King [Sat, 26 Jun 2010 19:32:20 +0000 (15:32 -0400)]
Moved doc/html.txt -> doc/http.txt.
`be html` is an HTML interface, but only CFBE (and `be serve`) use
HTTP.