savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] Willing to Assist with Bazaar


From: Eli Zaretskii
Subject: Re: [Savannah-hackers-public] Willing to Assist with Bazaar
Date: Thu, 11 Sep 2014 23:37:47 +0300

> Date: Thu, 11 Sep 2014 13:29:10 -0400
> From: Assaf Gordon <address@hidden>
> CC: address@hidden
> 
> > That said, a branch in bzr is a separate directory, so perhaps you
> > could simply produce a commit log in each of these directories?  Would
> > that be enough?  (I guess to answer that you will need to tell what
> > you intend to do with the log ;-)
> >
> 
> That's exactly what I was trying to do... how do I get the list of "each of 
> these directories" ?

Each immediate subdirectory of the repository directory is a branch,
except if its name is ".bzr" (the latter is where the repo holds its
metadata that is common to all the branches).  If there are no
subdirectories except '".bzr", then you have a standalone branch,
i.e. a single branch.

> On the Savannah website they are referred to as branches, but perhaps they 
> are just directories.

Each branch in bzr is a separate directory.  Co-located branches were
introduced only in bzr 2.6, and I don't think any projects uses them.

> I'll rephrase the question from a very from a very technical POV:
> Given the following URLS of a BZR project (which is what GNU Savannah gives 
> me):
>    bzr://bzr.savannah.nongnu.org/gnewsense/
>    http://bzr.savannah.nongnu.org/r/gnewsense
> 
> How can I tell (programmatically) which sub-directories or branches (or 
> another BZR term) do these repositories have?

See above (but that requires access to the server).

Alternatively, "bzr branches -R", already mentioned earlier, should do
the job, albeit slowly.  E.g., for gnewsense, it just took about 25
minutes and produced a long list of branches which I show below.

> From: Glenn Morris <address@hidden>
> Date: Thu, 11 Sep 2014 16:25:17 -0400
> Cc: address@hidden
> 
> This page says `bzr heads' will work:
> http://stackoverflow.com/questions/19082720/getting-all-bazaar-bzr-branch-list-with-bzr-command
> 
> but I did not test it.

I did.  It works as slowly as "bzr branches -R", produces the same
information, but with a lot more clutter (it displays the tip revision
for each branch, which Assaf doesn't need, AFAICT), and fills up your
~/.bzr.log file with a lot of filesystem errors.

Here's the list of gnewsense branches I got from "branches -R":

  debderiver
  docs
  metad
  packages/parkes/psutils
  packages-parkes/antlr
  packages-parkes/apt
  packages-parkes/apt-setup
  packages-parkes/autoconf
  packages-parkes/autoconf2.59
  packages-parkes/autoconf2.64
  packages-parkes/bacula
  packages-parkes/base-files
  packages-parkes/base-installer
  packages-parkes/batik
  packages-parkes/cairomm
  packages-parkes/cdebootstrap
  packages-parkes/cfitsio3
  packages-parkes/choose-mirror
  packages-parkes/claws-mail
  packages-parkes/db4.6
  packages-parkes/db4.7
  packages-parkes/db4.8
  packages-parkes/debian-cd
  packages-parkes/debian-edu
  packages-parkes/debian-installer
  packages-parkes/debian-installer-launcher
  packages-parkes/debootstrap
  packages-parkes/desktop-base
  packages-parkes/doc-linux
  packages-parkes/doc-linux-hr
  packages-parkes/doc-linux-it
  packages-parkes/doc-linux-ja
  packages-parkes/doc-linux-pl
  packages-parkes/enscript
  packages-parkes/epiphany-browser
  packages-parkes/fop
  packages-parkes/freetype
  packages-parkes/galaxia
  packages-parkes/gdm3
  packages-parkes/glibmm2.4
  packages-parkes/gnewsense-archive-keyring
  packages-parkes/gnome-desktop
  packages-parkes/gtkmm2.4
  packages-parkes/icedove
  packages-parkes/iceweasel
  packages-parkes/kde4libs
  packages-parkes/kdebase
  packages-parkes/kdebase-workspace
  packages-parkes/kdenetwork
  packages-parkes/kernel-wedge
  packages-parkes/lensfun
  packages-parkes/liferea
  packages-parkes/lintian
  packages-parkes/linux-2.6
  packages-parkes/linux-kernel-di-amd64-2.6
  packages-parkes/linux-kernel-di-i386-2.6
  packages-parkes/linux-latest-2.6
  packages-parkes/live-build
  packages-parkes/live-config
  packages-parkes/meta-gnome2
  packages-parkes/mplayer
  packages-parkes/net-retriever
  packages-parkes/objcryst-fox
  packages-parkes/openbox-themes
  packages-parkes/openjdk-6
  packages-parkes/openoffice.org
  packages-parkes/pangomm
  packages-parkes/perl-tk
  packages-parkes/pkgsel
  packages-parkes/popularity-contest
  packages-parkes/psutils
  packages-parkes/python-apt
  packages-parkes/screenlets
  packages-parkes/sip4-qt3
  packages-parkes/software-center
  packages-parkes/tcl8.4
  packages-parkes/tcl8.5
  packages-parkes/texlive-extra
  packages-parkes/tk8.4
  packages-parkes/tk8.5
  packages-parkes/update-manager
  packages-parkes/vim
  packages-parkes/wmaker
  packages-parkes/xchat
  packages-parkes/xdm
  packages-parkes/xorg-server
  packages-parkes/xserver-xorg-video-siliconmotion
  packages-parkes/yeeloong-base
  packages-parkes-cfr/desktop-base
  packages-parkes-cfr/galaxia
  packages-parkes-cfr/live-build
  packages-parkes-cfr/mplayer
  packages-ucclia/apt
  packages-ucclia/apt-setup
  packages-ucclia/aurora
  packages-ucclia/autoconf
  packages-ucclia/autoconf2.59
  packages-ucclia/autoconf2.64
  packages-ucclia/base-files
  packages-ucclia/base-installer
  packages-ucclia/cairomm
  packages-ucclia/cdebootstrap
  packages-ucclia/cfitsio3
  packages-ucclia/choose-mirror
  packages-ucclia/claws-mail
  packages-ucclia/db
  packages-ucclia/db4.7
  packages-ucclia/db4.8
  packages-ucclia/debootstrap
  packages-ucclia/doc-linux-hr
  packages-ucclia/doc-linux-ja
  packages-ucclia/doc-linux-pl
  packages-ucclia/freetype
  packages-ucclia/gdm3
  packages-ucclia/glibmm2.4
  packages-ucclia/gnewsense-archive-keyring
  packages-ucclia/gnome-desktop
  packages-ucclia/gtkmm2.4
  packages-ucclia/lensfun
  packages-ucclia/lintian
  packages-ucclia/linux
  packages-ucclia/linux-doc-hr
  packages-ucclia/linux-latest
  packages-ucclia/mplayer
  packages-ucclia/net-retriever
  packages-ucclia/objcryst-fox
  packages-ucclia/openbox-themes
  packages-ucclia/pangomm
  packages-ucclia/perl-tk
  packages-ucclia/pkgsel
  packages-ucclia/python-apt
  packages-ucclia/sip4
  packages-ucclia/software-center
  packages-ucclia/tcl8.4
  packages-ucclia/tcl8.5
  packages-ucclia/texlive-extra
  packages-ucclia/tk8.4
  packages-ucclia/tk8.5
  packages-ucclia/update-manager
  packages-ucclia/vim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]