Merge lp:~jelmer/bzr-builddeb/directory-git into lp:~bzr-builddeb-hackers/bzr-builddeb/trunk-old

Proposed by Jelmer Vernooij
Status: Merged
Merge reported by: James Westby
Merged at revision: not available
Proposed branch: lp:~jelmer/bzr-builddeb/directory-git
Merge into: lp:~bzr-builddeb-hackers/bzr-builddeb/trunk-old
Diff against target: None lines
To merge this branch: bzr merge lp:~jelmer/bzr-builddeb/directory-git
To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Now that bzr-git supports retrieving remote git branches, it is possible
to support Vcs-Git in bzr-builddeb. The attached patch updates the
directory service to do this, similar to the way it's done for bzr-svn.

Cheers,

Jelmer
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Revision history for this message
James Westby (james-w) wrote :

On Fri, 2009-01-30 at 04:42 +0000, Jelmer Vernooij wrote:
> Now that bzr-git supports retrieving remote git branches, it is possible
> to support Vcs-Git in bzr-builddeb. The attached patch updates the
> directory service to do this, similar to the way it's done for bzr-svn.

Looks good to me, thanks.

Also, thanks for your work on bzr-git, I'll have to try this out for
myself.

Thanks,

James

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'directory.py'
--- directory.py 2008-08-29 17:34:06 +0000
+++ directory.py 2009-01-30 04:38:21 +0000
@@ -76,5 +76,15 @@
76 else:76 else:
77 return urls[version]["Svn"]77 return urls[version]["Svn"]
7878
79 if "Git" in urls[version]:
80 try:
81 import bzrlib.plugins.git
82 except ImportError:
83 info("This package uses git. If you would like to "
84 "access it with bzr then please install bzr-git "
85 "and re-run the command.")
86 else:
87 return urls[version]["Git"]
88
79 raise errors.InvalidURL(path=url,89 raise errors.InvalidURL(path=url,
80 extra='unsupported VCSes %r found' % urls[version].keys())90 extra='unsupported VCSes %r found' % urls[version].keys())
8191

Subscribers

People subscribed via source and target branches