[jhbuild] info: Display Git mirror module in the output
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] info: Display Git mirror module in the output
- Date: Fri, 31 Dec 2010 01:07:17 +0000 (UTC)
commit 9bd4dd4c2deaf99546135108a58d8a2e74b47de2
Author: Dirk Wallenstein <halsmit t-online de>
Date: Fri Dec 17 13:10:54 2010 +0100
info: Display Git mirror module in the output
If a local mirror is being used, display the upstream URL of the mirror
in an additional line.
https://bugzilla.gnome.org/show_bug.cgi?id=636888
jhbuild/commands/info.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/commands/info.py b/jhbuild/commands/info.py
index 583e8e6..4c3d8ed 100644
--- a/jhbuild/commands/info.py
+++ b/jhbuild/commands/info.py
@@ -83,6 +83,8 @@ class cmd_info(Command):
uprint(_('Darcs-Archive:'), module.branch.module)
elif isinstance(module.branch, GitBranch):
uprint(_('Git-Module:'), module.branch.module)
+ if module.branch.unmirrored_module:
+ uprint(_('Git-Mirror-Module:'), module.branch.unmirrored_module)
git_branch = module.branch.branch
if not git_branch:
git_branch = 'master'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]