Age | Commit message (Collapse) | Author |
|
Allowing specifying bz-tracker.<tracker>.default-product and
bz-tracker.<tracker>.default-component. This is useful when done
in the per-repository config.
Add a "Per-repository configuration" section in the docs with examples.
|
|
Allow specifying -b/--bugzilla for all subcommands and not just
for for 'file'
|
|
|
|
While spaces in products and components may not be common,
bugzilla.openedhand.com has, for example, "Metacity (Clutter port)"
as a product. So allow that.
|
|
Tweak style from last patch to match personal preference.
|
|
Select the first profile with a Path entry, and in case of multiple
profiles use the one with Default=1
Fixes profile lookup with profiles.ini that looks like:
[General]
StartWithLastProfile=1
[Profile0]
Name=default
IsRelative=1
Path=t0ps3cr3t.default
|
|
|
|
rev_list_commits() wasn't working properly when the returned list of
commits was empty because "".split("\n") is [""] not []. Special
case that. (Reported by Colin Walters.)
|
|
Replace usage of random low-level parts of GitPython with a simple
convenience functionality similar to that offered by git.cmd. For
example:
git.commit(file="-", amend=True, _input=input)
Include special options _input/_quiet/_interactive to allow removing
several cases where subprocess.Popen() was used directly and improve
output on git command failure.
Also, use commit.subject rather than commit.message to be consistent
with standard Git terminology.
|
|
Strip out the URL we add with -u when using the body of the commit
as the comment for an attachmnet; it's completely redundant to have
an URL pointing back to the bug page itself.
|
|
If the response to attaching a patch doesn't have "Changes Submitted"
as the, assume the attachment failed and dump out an error message
and the response body.
|
|
|
|
The default default severity should be 'normal', not empty.
|
|
* Add item about dropping the usage of GitPython
* Add a better suggestion for how to do Obsoletes
|
|
|
|
git bz add-url: new subcommand to rewrite old commit messages to include
a bug URL.
git bz attach/file: -u/--add-url option rewrites commit messages as
with 'add-url' before attaching patches to bugzilla.
git bz apply: -u/--add-url option rewrites commit messages after
applying patches to the current tree.
|
|
|
|
Testing revealed a couple of invalid variable references from cleanups
just before the initial import. Fix.
|
|
git-file examples were missing the mandatory product and component.
|
|
|