all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Listing branches with bzr
@ 2009-12-01 19:06 Eli Zaretskii
  2009-12-01 21:46 ` Karl Fogel
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Eli Zaretskii @ 2009-12-01 19:06 UTC (permalink / raw)
  To: emacs-devel

Is there a bzr command to show all the branches in the master
repository?  I couldn't find such a command.  "bzr tags" comes the
closest, but it only shows the tags that were used to start each
branch, not the branch names.

Am I missing something?




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 19:06 Listing branches with bzr Eli Zaretskii
@ 2009-12-01 21:46 ` Karl Fogel
  2009-12-01 21:57   ` Xavier Maillard
  2009-12-01 22:20   ` Jason Earl
  2009-12-01 21:55 ` Stefan Monnier
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 17+ messages in thread
From: Karl Fogel @ 2009-12-01 21:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:
> Is there a bzr command to show all the branches in the master
> repository?  I couldn't find such a command.  "bzr tags" comes the
> closest, but it only shows the tags that were used to start each
> branch, not the branch names.

I don't know of one -- I just use the loggerhead browser for this
(though switching UIs to do a listing is not ideal, of course).




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 19:06 Listing branches with bzr Eli Zaretskii
  2009-12-01 21:46 ` Karl Fogel
@ 2009-12-01 21:55 ` Stefan Monnier
  2009-12-01 22:00 ` Dan Nicolaescu
  2009-12-01 22:08 ` Alexander Belchenko
  3 siblings, 0 replies; 17+ messages in thread
From: Stefan Monnier @ 2009-12-01 21:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

> Is there a bzr command to show all the branches in the master repository?

I don't know of any.  You can get this info via sftp or via launchpad,
but it seems to be missing from bzr itself.


        Stefan




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 21:46 ` Karl Fogel
@ 2009-12-01 21:57   ` Xavier Maillard
  2009-12-01 22:20   ` Jason Earl
  1 sibling, 0 replies; 17+ messages in thread
From: Xavier Maillard @ 2009-12-01 21:57 UTC (permalink / raw)
  To: Karl Fogel; +Cc: eliz, emacs-devel


   Eli Zaretskii <eliz@gnu.org> writes:
   > Is there a bzr command to show all the branches in the master
   > repository?  I couldn't find such a command.  "bzr tags" comes the
   > closest, but it only shows the tags that were used to start each
   > branch, not the branch names.

   I don't know of one -- I just use the loggerhead browser for this
   (though switching UIs to do a listing is not ideal, of course).

Isn't 'bzr branches' supposed to achieve such task ?

For example, on my shared repository:

bzr branches ~/repos/dokuwiki-el

administrativia
dokuwiki-mode
fontify-buffer
trunk

Regards

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 19:06 Listing branches with bzr Eli Zaretskii
  2009-12-01 21:46 ` Karl Fogel
  2009-12-01 21:55 ` Stefan Monnier
@ 2009-12-01 22:00 ` Dan Nicolaescu
  2009-12-02  4:19   ` Eli Zaretskii
  2009-12-01 22:08 ` Alexander Belchenko
  3 siblings, 1 reply; 17+ messages in thread
From: Dan Nicolaescu @ 2009-12-01 22:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

  > Is there a bzr command to show all the branches in the master
  > repository?  I couldn't find such a command.  "bzr tags" comes the
  > closest, but it only shows the tags that were used to start each
  > branch, not the branch names.

If you find a command/set of commands that do this, then we can add a
vc-bzr function to do it, and bind it to the vc and vc-dir menu.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 19:06 Listing branches with bzr Eli Zaretskii
                   ` (2 preceding siblings ...)
  2009-12-01 22:00 ` Dan Nicolaescu
@ 2009-12-01 22:08 ` Alexander Belchenko
  3 siblings, 0 replies; 17+ messages in thread
From: Alexander Belchenko @ 2009-12-01 22:08 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii пишет:
> Is there a bzr command to show all the branches in the master
> repository?  I couldn't find such a command.  "bzr tags" comes the
> closest, but it only shows the tags that were used to start each
> branch, not the branch names.

Use `bzr branches` command from bzrtools plugin.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 21:46 ` Karl Fogel
  2009-12-01 21:57   ` Xavier Maillard
@ 2009-12-01 22:20   ` Jason Earl
  2009-12-02  1:57     ` Lennart Borgman
  2009-12-02  6:21     ` Eli Zaretskii
  1 sibling, 2 replies; 17+ messages in thread
From: Jason Earl @ 2009-12-01 22:20 UTC (permalink / raw)
  To: Karl Fogel; +Cc: Eli Zaretskii, emacs-devel

Karl Fogel <kfogel@red-bean.com> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>> Is there a bzr command to show all the branches in the master
>> repository?  I couldn't find such a command.  "bzr tags" comes the
>> closest, but it only shows the tags that were used to start each
>> branch, not the branch names.
>
> I don't know of one -- I just use the loggerhead browser for this
> (though switching UIs to do a listing is not ideal, of course).

To my surprise:

bzr branches http://bzr.savannah.gnu.org/r/emacs/

works.  I thought this command needed a smart server, but apparently
not.  It is part of the bzrtools plugins package.

It might be faster to fire up a web browser and take a look at
loggerhead though.  On my netbook the above command takes 1 minute 44
seconds, on a fairly well connected network.

Jason




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 22:20   ` Jason Earl
@ 2009-12-02  1:57     ` Lennart Borgman
  2009-12-02  2:13       ` Óscar Fuentes
  2009-12-02  6:21     ` Eli Zaretskii
  1 sibling, 1 reply; 17+ messages in thread
From: Lennart Borgman @ 2009-12-02  1:57 UTC (permalink / raw)
  To: Jason Earl; +Cc: Karl Fogel, Eli Zaretskii, emacs-devel

On Tue, Dec 1, 2009 at 11:20 PM, Jason Earl <jearl@notengoamigos.org> wrote:
> Karl Fogel <kfogel@red-bean.com> writes:
>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>> Is there a bzr command to show all the branches in the master
>>> repository?  I couldn't find such a command.  "bzr tags" comes the
>>> closest, but it only shows the tags that were used to start each
>>> branch, not the branch names.
>>
>> I don't know of one -- I just use the loggerhead browser for this
>> (though switching UIs to do a listing is not ideal, of course).
>
> To my surprise:
>
> bzr branches http://bzr.savannah.gnu.org/r/emacs/
>
> works.  I thought this command needed a smart server, but apparently
> not.  It is part of the bzrtools plugins package.
>
> It might be faster to fire up a web browser and take a look at
> loggerhead though.  On my netbook the above command takes 1 minute 44
> seconds, on a fairly well connected network.


Is that a bug, or?




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-02  1:57     ` Lennart Borgman
@ 2009-12-02  2:13       ` Óscar Fuentes
  2009-12-02  2:17         ` Lennart Borgman
  0 siblings, 1 reply; 17+ messages in thread
From: Óscar Fuentes @ 2009-12-02  2:13 UTC (permalink / raw)
  To: emacs-devel

Lennart Borgman <lennart.borgman@gmail.com> writes:

> On Tue, Dec 1, 2009 at 11:20 PM, Jason Earl <jearl@notengoamigos.org> wrote:
>> To my surprise:
>>
>> bzr branches http://bzr.savannah.gnu.org/r/emacs/
>>
>> works.  I thought this command needed a smart server, but apparently
>> not.  It is part of the bzrtools plugins package.
>>
>> It might be faster to fire up a web browser and take a look at
>> loggerhead though.  On my netbook the above command takes 1 minute 44
>> seconds, on a fairly well connected network.
>
> Is that a bug, or?

Not a bug AFAIK, just slow. For me it takes about 5 minutes.

-- 
Óscar





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-02  2:13       ` Óscar Fuentes
@ 2009-12-02  2:17         ` Lennart Borgman
  2009-12-02  2:44           ` Óscar Fuentes
  2009-12-02  3:53           ` Stephen J. Turnbull
  0 siblings, 2 replies; 17+ messages in thread
From: Lennart Borgman @ 2009-12-02  2:17 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: emacs-devel

On Wed, Dec 2, 2009 at 3:13 AM, Óscar Fuentes <ofv@wanadoo.es> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>> On Tue, Dec 1, 2009 at 11:20 PM, Jason Earl <jearl@notengoamigos.org> wrote:
>>> To my surprise:
>>>
>>> bzr branches http://bzr.savannah.gnu.org/r/emacs/
>>>
>>> works.  I thought this command needed a smart server, but apparently
>>> not.  It is part of the bzrtools plugins package.
>>>
>>> It might be faster to fire up a web browser and take a look at
>>> loggerhead though.  On my netbook the above command takes 1 minute 44
>>> seconds, on a fairly well connected network.
>>
>> Is that a bug, or?
>
> Not a bug AFAIK, just slow. For me it takes about 5 minutes.


Isn't it doing the same work as on the server? Is it the network
traffic that makes it so incredibly slow?

I am thinking about Stephens reply (which I have not had time to
respond to). He mentioned that git uses SHA to identify files why bzr
does not do that? Is that the cause of the time trouble we are seeing?

I would consider that just as serious as a bug. But maybe there is
something I do not understand there.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-02  2:17         ` Lennart Borgman
@ 2009-12-02  2:44           ` Óscar Fuentes
  2009-12-02  3:53           ` Stephen J. Turnbull
  1 sibling, 0 replies; 17+ messages in thread
From: Óscar Fuentes @ 2009-12-02  2:44 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: Óscar Fuentes, emacs-devel

Lennart Borgman <lennart.borgman@gmail.com> writes:

>>>> bzr branches http://bzr.savannah.gnu.org/r/emacs/
>>>
>>> Is that a bug, or?
>>
>> Not a bug AFAIK, just slow. For me it takes about 5 minutes.
>
>
> Isn't it doing the same work as on the server? Is it the network
> traffic that makes it so incredibly slow?

Possibly the operation is very chatty.

> I am thinking about Stephens reply (which I have not had time to
> respond to). He mentioned that git uses SHA to identify files why bzr
> does not do that? Is that the cause of the time trouble we are seeing?

I don't think so.

> I would consider that just as serious as a bug. But maybe there is
> something I do not understand there.

The `branches' command is implemented by the bzrtools plugin, so it
can't be considered a bug, or even a perfomance issue, on Bazaar proper.

Bazaar has a plugin architecture which makes very easy to add
functionality to it (in Python). There are some impressive plugins, like
my favorite, bzr-svn, which IMO turns bzr into a better Subversion
client than svn itself.

-- 
Óscar




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-02  2:17         ` Lennart Borgman
  2009-12-02  2:44           ` Óscar Fuentes
@ 2009-12-02  3:53           ` Stephen J. Turnbull
  1 sibling, 0 replies; 17+ messages in thread
From: Stephen J. Turnbull @ 2009-12-02  3:53 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: Óscar Fuentes, emacs-devel

Lennart Borgman writes:

 > Isn't it doing the same work as on the server?

Yes.

 > Is it the network traffic that makes it so incredibly slow?

Yes.  What you are seeing is bzr using algorithms designed on the
assumption that files are local on each individual file via HTTP.

 > I am thinking about Stephens reply (which I have not had time to
 > respond to). He mentioned that git uses SHA to identify files why bzr
 > does not do that? Is that the cause of the time trouble we are seeing?

As I wrote before, bzr uses a way to identify files that makes
tracking file and directory renames precise and efficient (in git
there is some imprecision and much slower).  For most other purposes,
the bzr file-tracking method and the git content-tracking method lead
to equivalent results with varying degrees of efficiency.  For a few
things git is quite a bit faster, but bzr is not unusable.

In any case it is not the cause of this slowdown.  The cause here
slowdown is that many files are being downloaded by HTTP, and this
would be also be true to some extent for git.  The big difference is
that for some reason Savannah admins think that use of git's smart
server is acceptable, security-wise, but they don't like bzr's.
Hopefully that can be changed soon, but to get things done in time for
the Emacs VCS switch probably only a request from Richard will do.
The Savannah admins don't currently consider installation of the smart
server a high priority (there's an open SR, and they've explicitly
said, "not now, and not soon").

 > I would consider that just as serious as a bug. But maybe there is
 > something I do not understand there.

There is.  Don't worry about it.  This is an administrative problem,
not a technical deficiency in bzr.[1]  Stefan and Karl are on this,
and they're getting help on the technical details that the Savannah
hackers need to know from senior bzr developers.  And you'll soak up
the technical knowledge as you use bzr; it's not something you need to
know to get started.



Footnotes: 
[1]  Unless you consider having *both* a smart, efficient server and a
very easy way for any Joe Hacker with a home page to give others
access to his bzr branch a bad thing. :-)




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 22:00 ` Dan Nicolaescu
@ 2009-12-02  4:19   ` Eli Zaretskii
  2009-12-02 23:24     ` Xavier Maillard
  0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2009-12-02  4:19 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

> Date: Tue, 1 Dec 2009 14:00:29 -0800 (PST)
> From: Dan Nicolaescu <dann@ics.uci.edu>
> Cc: emacs-devel@gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>   > Is there a bzr command to show all the branches in the master
>   > repository?  I couldn't find such a command.  "bzr tags" comes the
>   > closest, but it only shows the tags that were used to start each
>   > branch, not the branch names.
> 
> If you find a command/set of commands that do this, then we can add a
> vc-bzr function to do it, and bind it to the vc and vc-dir menu.

Seems like "bzr branches" is it, although I didn't yet try it.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-01 22:20   ` Jason Earl
  2009-12-02  1:57     ` Lennart Borgman
@ 2009-12-02  6:21     ` Eli Zaretskii
  2009-12-02 13:45       ` Martin Albisetti
  1 sibling, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2009-12-02  6:21 UTC (permalink / raw)
  To: Jason Earl; +Cc: kfogel, emacs-devel

> From: Jason Earl <jearl@notengoamigos.org>
> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
> Date: Tue, 01 Dec 2009 15:20:39 -0700
> 
> To my surprise:
> 
> bzr branches http://bzr.savannah.gnu.org/r/emacs/
> 
> works.

It does, thanks.  Although, unlike other commands I used till now, it
doesn't use the saved location by default, even if I invoke it from
the parent of the local trunk/ tree.  I needed to specify the sftp URL
explicitly, otherwise it shows only the local branches.

> On my netbook the above command takes 1 minute 44 seconds, on a
> fairly well connected network.

Lucky you.  My connection is also fast, but it took 7 minutes here.
I'm not going to care about that, though: this command is needed maybe
once a month or so.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-02  6:21     ` Eli Zaretskii
@ 2009-12-02 13:45       ` Martin Albisetti
  0 siblings, 0 replies; 17+ messages in thread
From: Martin Albisetti @ 2009-12-02 13:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: kfogel, Jason Earl, emacs-devel

On Wed, Dec 2, 2009 at 3:21 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> On my netbook the above command takes 1 minute 44 seconds, on a
>> fairly well connected network.
>
> Lucky you.  My connection is also fast, but it took 7 minutes here.
> I'm not going to care about that, though: this command is needed maybe
> once a month or so.

In that case, why not just set up a loggerhead instance on the server?
It would bring it down to a few seconds!  :)


-- 
Martin




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-02  4:19   ` Eli Zaretskii
@ 2009-12-02 23:24     ` Xavier Maillard
  2009-12-03  3:55       ` Eli Zaretskii
  0 siblings, 1 reply; 17+ messages in thread
From: Xavier Maillard @ 2009-12-02 23:24 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: dann, emacs-devel


   > Date: Tue, 1 Dec 2009 14:00:29 -0800 (PST)
   > From: Dan Nicolaescu <dann@ics.uci.edu>
   > Cc: emacs-devel@gnu.org
   > 
   > Eli Zaretskii <eliz@gnu.org> writes:
   > 
   >   > Is there a bzr command to show all the branches in the master
   >   > repository?  I couldn't find such a command.  "bzr tags" comes the
   >   > closest, but it only shows the tags that were used to start each
   >   > branch, not the branch names.
   > 
   > If you find a command/set of commands that do this, then we can add a
   > vc-bzr function to do it, and bind it to the vc and vc-dir menu.

   Seems like "bzr branches" is it, although I didn't yet try it.

Note that this command is not part of the default GNU Bazaar
distribution but is in the bzrtools package.


	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Listing branches with bzr
  2009-12-02 23:24     ` Xavier Maillard
@ 2009-12-03  3:55       ` Eli Zaretskii
  0 siblings, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2009-12-03  3:55 UTC (permalink / raw)
  To: Xavier Maillard; +Cc: dann, emacs-devel

> Date: Thu, 3 Dec 2009 00:24:24 +0100
> From: Xavier Maillard <xma@gnu.org>
> CC: dann@ics.uci.edu, emacs-devel@gnu.org
> Jabber-ID: xavier@maillard.im
> 
> 
>    > Date: Tue, 1 Dec 2009 14:00:29 -0800 (PST)
>    > From: Dan Nicolaescu <dann@ics.uci.edu>
>    > Cc: emacs-devel@gnu.org
>    > 
>    > Eli Zaretskii <eliz@gnu.org> writes:
>    > 
>    >   > Is there a bzr command to show all the branches in the master
>    >   > repository?  I couldn't find such a command.  "bzr tags" comes the
>    >   > closest, but it only shows the tags that were used to start each
>    >   > branch, not the branch names.
>    > 
>    > If you find a command/set of commands that do this, then we can add a
>    > vc-bzr function to do it, and bind it to the vc and vc-dir menu.
> 
>    Seems like "bzr branches" is it, although I didn't yet try it.
> 
> Note that this command is not part of the default GNU Bazaar
> distribution but is in the bzrtools package.

Yes, I understand.  But bzrtools is generally considered as a
must-have; e.g., the Windows installer installs it by default.

Perhaps VC Mode should suggest installing it if the command brings an
error, though.




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-12-03  3:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 19:06 Listing branches with bzr Eli Zaretskii
2009-12-01 21:46 ` Karl Fogel
2009-12-01 21:57   ` Xavier Maillard
2009-12-01 22:20   ` Jason Earl
2009-12-02  1:57     ` Lennart Borgman
2009-12-02  2:13       ` Óscar Fuentes
2009-12-02  2:17         ` Lennart Borgman
2009-12-02  2:44           ` Óscar Fuentes
2009-12-02  3:53           ` Stephen J. Turnbull
2009-12-02  6:21     ` Eli Zaretskii
2009-12-02 13:45       ` Martin Albisetti
2009-12-01 21:55 ` Stefan Monnier
2009-12-01 22:00 ` Dan Nicolaescu
2009-12-02  4:19   ` Eli Zaretskii
2009-12-02 23:24     ` Xavier Maillard
2009-12-03  3:55       ` Eli Zaretskii
2009-12-01 22:08 ` Alexander Belchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.