/srv/irclogs.ubuntu.com/2014/06/13/#bzr.txt

chrisircHello. I'm a bzr newbie (well not really, used it a little bit about 10 years ago), trying to get to see all branches in a repo ,i.e. explore a repo.00:08
chrisircI'm on Debian and I've installed bzr-explorer with its dependency qbzr.00:09
chrisircThose tools sound like they would do what t00:09
chrisircI want, but, I can't figure out how to start the,00:09
chrisircm, those packages don't have a single entry in any */bin/00:09
chrisircdirectory. (sorry, my return key is funky, triggers all the time.)00:09
chrisircBasically I'm looking for the equivalent of "gitk --all".00:10
chrisircCan a bzr repository contain multiple branches like Git? How can I list them? "bzr branches" shows 1 line, "* (default)".00:28
chrisircDo I need to pass options to "bzr clone" to get more than the default branch?00:28
fullermd_Running qlog on a dir will find all the branches under it, 'branches' needs -R to work right, clone is just an alias for branch which pulls the given branch (not 'default', as that lacks meaningful meaning)00:30
fullermd_Or more explicitly, bzr practically never does repository-level operations, it's essentially all branch-level.00:37
bob2(repos are mostly just a storage space optimisation in bzr)00:38
mgranditry just 'bzr explorer' ?00:46
mgrandito start bazaar explorer00:47
mgrandior any of the 'q<whatever>' commands like fullermd_  said00:47
Rich_MorinI just installed Bazaar on OSX 10.7.5, using the 2.6.0 installer from http://wiki.bazaar.canonical.com/MacOSXDownloads  How can I find out where this might have put bzrlib?01:52
fullermd_bzr version says.01:55
Rich_Morinbzr version says "ERROR: Couldn't import bzrlib and dependencies.  Please check the directory containing bzrlib is on your PYTHONPATH."  Beeep.01:56
Rich_Morinrecursion: see recursion01:56
fullermd_OK, so we know the answer is "not where it should be"   :)01:57
Rich_Morinprogress!01:57
Rich_MorinWell, find(1) found /Library/Python/2.6/site-packages/bzrlib02:00
Rich_MorinHow much of that needs to go in the PYTHONPATH02:01
fullermd_Up through the 2.6 I think.  Though the real answer should be "none of it", since it sounds more like the bzr install isn't really in sync with your python install, so forcing it may not put you in a good place anyway.02:02
Rich_MorinThe really annoying thing is that I only need Bazaar in order to get a Go library.  So I'm three levels down a stack of incidental complexity.02:03
fullermd_Maybe you can shortcut that away.02:05
Rich_Morin???02:05
fullermd_What lib where?02:05
Rich_Morin"launchpad.net/goyaml"02:06
fullermd_LP has tarball downloads.02:06
fullermd_For that matter, up top of that page it points at github.02:07
fullermd_So really, what we need to do is get bzr working and bzr-git installed, so you can use that to get git, and use that to get it   :)02:09
Rich_Morinerm, which page?  I _have_ git02:09
fullermd_https://launchpad.net/goyaml says "PROJECT MOVED: https://github.com/go-yaml/go-yaml-v1" right up top.02:09
Rich_MorinThanks!  That looks promising.02:12
Rich_MorinI hope I don't have to understand   yaml.Unmarshal([]byte(data), &t)  just to parse some YAML :-)02:16
fullermd_Of course not; you just do it in perl instead    ;)02:16
Rich_MorinActually, I have this script running in Ruby and Julia, but neither is very fast, so I'm trying Go.02:18
Rich_MorinI haven't written any Perl in several years, but...02:18
Rich_MorinDoes Go have a simple way to print a data structure, ala Ruby's inspect method?02:24
Rich_MorinI'm getting '{ {%!s(int=0) []}}' for a hash, which doesn't show me the data...02:25
fullermd_Dunno.  Getting from "passingly aware" to "working knowledge" of go hasn't get gotten within a loud shout of the top of my todo list.02:25
fullermd_s/get/yet/02:26
fullermd_Maybe https://github.com/davecgh/go-spew ?02:35
fullermd_(from http://stackoverflow.com/questions/12540057/is-there-a-go-language-equivalent-to-perls-dumper-method-in-datadumper )02:36
mgrandiRich_Morin: sorry for your troubles! thats a mac issue, since they changed what version of python that is called when you just call 'python'02:56
mgrandihttps://bugs.launchpad.net/bzr-mac-installers/+bug/731391/comments/2502:56
ubot5Ubuntu bug 731391 in Bazaar Mac Installers "bzr: ERROR: Couldn't import bzrlib and dependencies. Please check the directory containing bzrlib is on your PYTHONPATH. Traceback (most recent call last): File "/usr/local/bin/bzr", line 102, in <module> import bzrlib ImportError: No module named bzrlib" [Medium,Fix released]02:56
mgrandiyou just have to edit the top line of the script and make it call python2.6 rather then python02:57
mgrandiand i have to go, but good luck! =)02:57
Rich_Morintnx02:57
Rich_MorinFortunately, the library I wanted to install in Go has been moved to another site that doesn't use Bazaar, so I can move on.03:19
JustinZOK, I've created my launchpad site, added ssh keys but every time I try "bzr push ...etc" I get "No new revisions or tags to push."04:17
JustinZBut there are plenty of files in my directory to push04:17
fullermd_You sure they're not already pushed?04:19
JustinZhttps://code.launchpad.net/~justin-zobel/budgie-desktop/trunk04:20
JustinZSays This branch is empty04:20
JustinZafter bzr push04:20
fullermd_How many revs are in your local branch?04:20
JustinZI'm a complete noob at this so you'll have to explain a little more if you can please.04:21
JustinZrevs meaning revisions of files?04:21
fullermd_Yeah.04:21
JustinZWell theres about 20 files in the root directory04:22
fullermd_e.g., how many show up when you run log?04:22
JustinZbzr log shows nothing :/04:22
fullermd_Well, then push did just what it's supposed to   :)04:23
JustinZOoooh04:23
JustinZOk so I did bzr add04:23
fullermd_push doesn't push files from your dir.  It pushes commits from your branch.04:23
JustinZhmm ok04:24
JustinZok so how do I get my files uploaded initially fullermd_ ?04:25
JustinZphwoar, may have figured it out04:29
JustinZhad to set whoami, commit, push04:29
fullermd_Well, you'd have to commit 'em...04:29
JustinZseems to be uploading something somewhere :D04:30
JustinZyep got it.04:32
JustinZThank you!04:32
=== TDJACR is now known as Guest34058

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!