Determining the repository format of a remote repo...
John Arbash Meinel
john at arbash-meinel.com
Wed Sep 30 15:34:39 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Szakmeister wrote:
> I did what I thought was the obvious thing and ran:
> bzr info lp:trac-backlog -v
>
> and got the following output:
>
> Standalone branch (format: unnamed)
> Location:
> branch root: bzr+ssh://bazaar.launchpad.net/~trac-backlog-team/trac-backlog/trunk/
>
> Related branches:
> parent branch:
> bzr+ssh://bazaar.launchpad.net/%7Ejszakmeister/%2Bjunk/trac-backlog/
>
> Format:
> control: bzr remote bzrdir
> branch: Remote BZR Branch
> repository: bzr remote repository
>
> Branch history:
> 36 revisions
> 55 days old
> first revision: Wed 2009-08-05 10:24:28 -0400
> latest revision: Tue 2009-09-22 13:24:11 -0400
>
> Repository:
> 37 revisions
>
>
> There is some useful information there, but the format block is almost
> completely useless. Is there some other command I should be using to
> determine the format of a remote repo? I'd like to avoid the overhead
> of converting one format into another, and I'd also like to make sure
> that a number of my branches are in the '2a' format.
>
> Thanks!
>
> -John
At the moment, switch to 'sftp://' urls should help
bzr info -v \
sftp://bazaar.launchpad.net/~trac-backlog-team/trac-backlog/trunk/
Standalone branch (format: 2a)
Location:
branch root:
sftp://bazaar.launchpad.net/~trac-backlog-team/trac-backlog/trunk/
Related branches:
public branch:
http://bazaar.launchpad.net/~trac-backlog-team/trac-backlog/trunk
parent branch: lp-hosted:///%7Ejszakmeister/%2Bjunk/trac-backlog/
Format:
control: Meta directory format 1
branch: Branch format 7
repository: Repository format 2a - rich roots, group compression and
chk inventories
Branch history:
36 revisions
56 days old
first revision: Wed 2009-08-05 10:24:28 -0400
latest revision: Tue 2009-09-22 13:24:11 -0400
Repository:
37 revisions
Though probably you could just do "bzr info sftp://..."
Standalone branch (format: 2a)
Location:
branch root:
sftp://bazaar.launchpad.net/~trac-backlog-team/trac-backlog/trunk/
Related branches:
public branch:
http://bazaar.launchpad.net/~trac-backlog-team/trac-backlog/trunk
parent branch: lp-hosted:///%7Ejszakmeister/%2Bjunk/trac-backlog/
It certainly completes much faster.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrDbH8ACgkQJdeBCYSNAAMfWQCeL3fR1Ninc99lBQwzX0jQNcnb
RzQAnRJduwMlTmDU3txKQZd68eWopT8Y
=UxCl
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list