/srv/irclogs.ubuntu.com/2011/02/20/#bzr.txt

dev001hi.  i've added a previously bzr-version-controlled folder underneath my project root to my .bzrignore.  moving forward, the ignore works fine, as expected, what's the bzr cmd to remove/purge that now-ignored-subfolder's version history ?  staring at the silly man page, i'm missing it ...01:07
bob2there is none01:08
bob2if you mean "I'd like to erase from history going all the way back to the beginning of time", that is01:08
bob2if you just want to del it, rm01:08
dev001bob2: hi.  rm what?  not the directory, i presume ...01:09
dev001or?01:09
bob2?01:09
bob2if you want to delete the directory and then commit, rm it01:09
dev001no, i want to keep the directory, in place, just not have it bzr-tracked ...01:09
bob2bzr rm --keep01:09
dev001aha! bingo, i think!01:10
dev001perfect, thanks.01:10
wyverni thought bazaar commits were local, but I just committed something and it went straight to launchpad (no push required). What's going on?04:39
Kamping_Kaiserhow did you branch ?04:41
wyvernI did a bzr checkout of the thing I wanted to work on in lp.04:42
fullermdCommits aren't "local", they go to whatever branch you're working on.  When you run 'checkout', you're not making a new branch, just a new working tree on the existing branch.04:43
fullermdSo that's the expected outcome.04:43
Kamping_Kaiserfullermd: beat me to it :p04:43
fullermdIf you want the new revs to not go there, you'll want to make a new branch for them using 'bzr branch'.04:43
wyvernhmm04:44
wyvernthat seems like it would then require me to merge, though04:44
* fullermd swoops in and ninjas away the credit :p04:44
Kamping_Kaiserhehe04:44
fullermdWell, if whatever you do leads to divergeance, there's no way around merging whatever you do.04:44
wyvernnaturally04:44
wyvernbut it seems that this requires an extra step... I'd like to just have some commits queued up and then push them04:45
wyvernobviously the server would require me to pull and merge if when I push I'm out of date04:45
fullermdThat would be what you'd do with the new branch...04:45
wyvernbut then I'd have to have another checkout lying around of the main branch and merge my branch into it, right?04:45
fullermdThat would be a way to go, yes.04:46
wyvernare there other approaches?04:46
wyvernI'm hoping there's something I'm missing... I like hg's approach to this04:46
fullermdIf you don't have divergeance, you could just push from your branch.  If you (and probably more important, the upstream project if it's not just "you") don't care about pivoting the mainline around, you can just merge-push in place.04:46
wyvernI see... so if I make a personal branch, I can then push straight into the main branch (and that would save the push location?)04:47
fullermdhg's approach is the latter.  The reason it's off the beaten path in bzr is that it screws with the mainline.  hg doesn't use the mainline concept, so the objection there is null.04:48
wyvernso what is the 'bzr way'? I'm happy to try a new approach04:48
fullermdThe bzr way would be to either just push like that if there's no divergeance, or merge/commit into a checkout if there is (or if you want to merge anyway)04:49
wyvernI see.04:50
wyvernok, I'll try the 'separate branch and push into mainline' approach. Thanks for explaining.04:50
wyvernI recognize your nick from somewhere. perhaps #postgresql?04:51
fullermdProbably not.  I've used Postgres for years, but I've never been in an IRC chan about it...04:52
wyvernah, k. Who knows, then. :)04:52
fullermdYou may find some of the stuff at <http://wiki.bazaar.canonical.com/MatthewFuller/SpotDocs> useful.  The RevNumbering and RevHandling docs talk about some of the stuff underlying which way you merge and its effects.04:53
wyvernso if there's a branch on lp, let's say lp:~foo/bar/baz ,when I *branch* it is that in effect making a local-only branch of the server-side branch?04:55
wyvernbut when I checkout, my local state always completely mirrors the server state and that's why checking in causes a push?04:55
fullermdAccurate enough, yah.04:56
wyvernI see. The 'branch' terminology seemed like the wrong thing to do after my experience with git, svn and hg04:56
fullermdYou could translate it like a 'hg clone'.  Not an exact correspondence, but...04:58
wyvernyeah, i understand that now04:58
wyvernok, next question -- bzr pull takes *forever*. is this because lp is slow?05:03
wyvernor is it always this bad05:03
fullermdWell, lp isn't per se fast...  Like any server, it's sure to be slow if you're talking over http though.05:04
wyvernif the 'parent branch' is what i should be looking at, it's bzr+ssh05:04
fullermdYeah, that would be relatively better.05:05
fullermdLP has never been impressively fast for me.  Rarely found it painfully slow.  Though I don't offhand remember the last time I used it for anything but bzr.05:06
fullermdAnyway, I gotta go.  I have an urgent appointment with my recliner and not-moving.05:09
wyvernsounds good. :) Thanks again.05:09
=== marienz_ is now known as marienz
spivGood morning22:59
TsuHello23:00
TsuI need advise23:00
spivHi Tsu23:02
TsuI would like to run Bazaar on a NAS running this: "Linux version 2.6.22.18 (wyc@SWTEST3) (gcc version 4.2.1) #22 Mon Aug 30 19:09:34 CST 2010"23:04
TsuHi Spiv23:04
TsuIs it possible?23:04
TsuI have python already installed.23:04
spivIf you have python already installed, then it should be possible.23:05
TsuI've install Python-2.5.4-223:05
spivAlthough do you need to install Bazaar on the NAS?  Bazaar works fine over e.g. SFTP23:06
TsuI would like to run bazaar as a smart server on the nas23:06
spivAh, ok.23:06
spivThat's a new enough Python, so that's fine.23:06
TsuI was checking the available packages...23:07
spivIs the NAS based on Ubuntu or Fedora or something like that?  If it is, I'd probably try a Bazaar package for one of those.23:07
spivOtherwise installing from the source tarball should work fine.23:07
TsuNope... I don't think so23:08
TsuYes, I was checking the source tarball...23:09
spivhttp://wiki.bazaar.canonical.com/InstallationFaq may help you23:10
jelmer_hey spiv23:15
jelmer_how's your day?23:15
TsuThank you for the instalation FAQ...23:18
TsuOk, I don't have Crypto nor paramiko23:18
spivjelmer_: good so far, but it only just started :)23:19
TsuBut I have xml.etree.cElementTree..23:19
spivTsu: paramiko is only needed for the client, not the server, I think.23:19
spivTsu: ditto Crypto23:20
TsuHmmm... ok :D23:20
TsuBetter that way23:21
Tsu:D23:21
spiv(paramiko is needed for the client to access sftp:// URLs, paramiko+Crypto is needed for bzr+ssh and sftp if you don't have a system ssh client installed)23:21
Tsuexcellent23:22
Tsuspiv, another question.23:25
TsuDo you know if the mercurial plugin is going to be updated to the latest bzrlib?23:26
jelmerTsu: bzr-hg trunk should work with current bzrlib23:27
Tsuok.23:28
maxbjelmer: Hi, what do you think about adding a subvertpy-daily recipe build? (To unblock bzr-svn dailys)23:31
jelmermaxb: there is one23:31
maxboh23:31
* maxb looks closer23:31
jelmeralthough I did only add it recently :)23:31
jelmermaxb: https://code.launchpad.net/~bzr/+recipe/subvertpy-daily23:32
maxbah, good23:32
maxbAlso, I'm wondering what to do about bzr-explorer daily for karmic23:32
maxbIt's currently broken because xvfb in karmic is broken unless you additionally Build-Depend on xauth23:32
jelmer_urgh23:33
maxbWe could cheat, and add that extra Build-Depend to the unstable branch, or we could add a daily-ppa branch just for this, or we could just shrug, and abandon karmic for this package23:33
jelmer_I guess we can add a branch to the recipe that adds that dependency?23:33
Tsuhmmm... what's "distcc"?23:37
maxbugh, dependency hell... subvertpy-daily failing because of missing python-pydoctor23:37
jelmermaxb: just fixed that :)23:37
maxbTsu: A distributed C compiler23:37
bob2Tsu: an neat tool for distributing compilation across multiple machines23:38
TsuI see...23:38
* maxb fixes bzr-grep to not run its tests under xvfb23:39
Tsurunning "sudo python setup.py install" is giving me this error:23:39
Tsurunning install23:39
Tsurunning build23:39
Tsurunning build_py23:39
Tsurunning build_ext23:39
Tsubuilding 'bzrlib._annotator_pyx' extension23:39
Tsudistcc gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/ffp/include/python2.5 -c bzrlib/_ annotator_pyx.c -o build/temp.linux-armv5tejl-2.5/bzrlib/_annotator_pyx.o23:39
Tsuunable to execute distcc: No such file or directory23:39
Tsuwhich is normal, since I don't have distcc on my NAS :D23:40
lifelesswgrant: well, you've got CC=distcc exported then :)23:40
lifelessthat, or your python was built with distcc and has remembered that23:41
wgrantDo I really?23:42
lifelessbah23:43
lifelessTsu: ^23:43
lifelesswgrant: I was typing something else to you23:43
spivActually, it might be that distutils is confused on that system.23:45
Tsunice...23:53
Tsu:)23:53
Tsupython bzr23:53
TsuBazaar 2.3.0 -- a free distributed version-control tool23:53
Tsuhttp://bazaar.canonical.com/23:53
Tsupython bzr is workin :D23:53
spivTsu: great :)23:53
Tsu:)23:53
Tsu:/mnt/HD/HD_a2/ffp/home/root/bin/bzr# python bzr serve &23:54
Tsu:/mnt/HD/HD_a2/ffp/home/root/bin/bzr# listening on port: 415523:54
TsuNice...23:54
Tsu:D23:54
Tsuok...23:56
Tsuit looks like it's working...23:56
TsuI'll give it some more testing tomorrow23:56
Tsuthank you all!23:56
Tsucya all tomorrow :D23:56
spivTsu: you're welcome23:56
Tsuthank you spiv23:57
Tsucya23:57
Tsu<close>23:57

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