/srv/irclogs.ubuntu.com/2010/03/20/#bzr.txt

bignoseI'm just now learning about the pipeline plugin.05:00
bignoseI'm also totally unfamiliar with “lightweight checkout”.05:00
bignoseapparently I need to make a lightweight checkout in order to make a pipeline.05:00
fullermdThey're like checkouts, except not as heavy   8-}05:01
bignosewhat's foiling me at the moment is:05:01
fullermd(runner-up: They're checkouts that can't hold their liquor)05:01
bignose‘bzr checkout --lightweight --revision "tag:release 1.2.3" foo.upstream/ foo.patch-pipeline/’05:01
bignosethe result, though, is not at the requested revision; it appears to have ignored that option05:02
bignosewhat I want is to apply an old set of patches at a corresponding old upstream version; then step through each subsequent upstream version modifying the patches accordingly as I go.05:02
bignoseis that an appropriate usage of pipelines?05:02
fullermdCan you `branch -r [...]`?  I wonder if maybe it just doesn't like spaces in tags.05:02
bignoseshall check, hold on05:03
fullermdHowever, that aside, I suspect that won't quite work anyway; with a checkout at the non-head version, you can't commit, so you'd need a branch headed there before you could move it forward.05:03
bignoseyes, ‘bzr branch --revision "tag:release 1.2.3" foo.upstream/ foo.bzr/’ works. the resulting branch is at the specified revno, and all subsequent tags exist but don't know their referent.05:04
bignoseokay. so, given the use case, am I wasting time trying to use a pipeline?05:05
fullermdWell, I don't know anything about pipeline.  But the issues sound orthogonal to me.05:05
fullermdYou'd just need to start the pipeline with a branch at that rev to work from.05:05
fullermdHow do you know the result [of the co --light] isn't at the requested rev?05:06
bignoseokay, so how do I start a pipeline at that rev? I can't even seem to get a lightweight checkout to work correctly.05:06
bignosebecause ‘bzr revno’ says so, and all the subsequent revision data is in the branch.05:06
fullermdbzr revno gives the branch revno, not the working tree revno.  So of course it would say that.05:07
fullermd(and of course all the data's in the branch; it would be Really Bad if co threw that away!)05:07
bignosewhereas, with a ‘branch’ instead of a ‘checkout --lightweight’, the revno is as requested and the revision data isn't present.05:07
fullermdTry revno --tree.05:07
fullermdBut at any rate, yes, you'd want a branch of the appropriate rev to start a pipeline from.05:08
bignoseah yes, ‘bzr revno --tree’ reports the requested revno.05:08
bignoseI don't see why the checkout needs later revision data if I haven't asked for it yet. (seems rather un-light too!)05:09
fullermdENONSENSICAL05:09
fullermdThe checkout doesn't have ANY revision data.05:09
fullermdRevision data is all through the _branch_.05:09
bignoseit makes as much sense as for ‘bzr branch --revision NNN’, and that doesn't have subsequent revision data either.05:09
bignosehmm. okay, clearly this is where my knowledge of lightweight checkouts fails me.05:10
bignosebut that may not be something I need to know yet.05:10
fullermdA checkout is just a working tree.  It's no different from a WT that happens to be colocated with a branch.05:10
bignoseso, with the tree at the requested revno, should I then expect to be able to:05:10
bignose* configure it to be a pipeline05:10
bignose* apply patches05:10
bignose* commit changes05:11
fullermdNeither has any history, or revision info, or yada yada; when you run 'revno' or 'log' or some such, it just uses the WT to find the branch, and then does the operation on the branch.05:11
bignose* update from subsequent revisions upstream05:11
fullermdAFAIK, pipeline is just a layer that uses one-or-more branches to do its stuff.05:11
bignose* continue converting the patches05:11
bignose?05:11
fullermdMy vague sense is that since abentley wrote it, he wrote it to operate in his workstyle, which is a bunch of treeless branches somewhere, and a single [light] checkout switch'd among them.05:12
fullermdWhich is where the co --light command you came across comes in.05:12
fullermdSo I'd make a branch from the upstream at whatever rev you want to start with, and then use that as the 'base' of the pipeline.05:12
bignosegot that far. what do I need to be careful of to make sure I can merge each patch from subsequent upstream revnos?05:13
bignoses/each patch/each local patch/05:13
fullermdWell, a pipeline is just an arrangement of branches.  So whatever you'd need to do with a normal branch to maintain <whatever ability>, you'd do with pipeline.05:14
bignoseargh, badly phrased. the patches are local, and are against a specific upstream revno. the point of the exercise is to update these local patches against later upstream revnos, one by one.05:14
fullermdI've never used it, so I don't know how much complication it would add.05:15
bignoseokay, thanks for your help so far.05:15
bignosennngh. adding a new pipe insists on updating the checkout.05:23
bignosedefeating the purpose.05:23
bignoseargh. it's fiddling around making directories *parallel to* the branch where I'm operating?05:27
bignosethis is most annoying.05:27
fullermdYeah, that's what I said   :p05:34
fullermd1..N treeless branches, a light checkout switch'd among them.05:34
fullermdvila: re bug 54240010:20
ubottuError: Could not parse data returned by Launchpad: list index out of range (https://launchpad.net/bugs/542400)10:20
* fullermd pats ubottu.10:21
fullermdvila: Are you sure that's really bzr?  It seems to be pretty qbzr-entangled...10:22
vilafullermd: huh, how do you know about it when it's private ?10:22
fullermdI know all and see all.10:22
vilafullermd: the command itself doesn't involve qbzr and I'm pretty sure I've seen a patch by NAOKI about the subprocess parameters not being encoded as they should10:23
vilagiven that the filename is not ascii... there are good chances that it's encoded correctly :)10:23
fullermdOwell.  Just wondering.  It'll get sorted out one way or another I reckon.10:26
lifelessfullermd: MA is 'the commonwealth of massacheussets10:28
vilaSame Owell here, but I trust bialix10:28
lifeless(spelling fail but still)10:28
bialixhi guys10:28
bialixwho is summon me?10:28
vilagreat, now I know it's not saturday :)10:28
bialixit's saturday10:29
fullermdlifeless: ...   well, yes, but...  EREF?10:29
bialixbonjour vila10:29
lifelessfullermd: the other day, poolies comment 'the other commonwealth'10:29
lifelessfullermd: and youre reply :P10:29
fullermdOh.  Don't you go screwing up my word games with mundane facts!10:30
vilabialix: do you remember a patch from naoki about encoding paths for subprocesses ? Could that apply to bug #542400 (and by the way, can you confirm that you too can read this bug ?)10:30
ubottuError: Could not parse data returned by Launchpad: list index out of range (https://launchpad.net/bugs/542400)10:30
fullermdvila: Oh, now you're just _taunting_ ubottu.  That's just cruel.10:30
bialixNot allowed here10:30
bialixSorry, you don't have permission to access this page.10:30
bialixthat's what I see10:31
vilafullermd: I love it when it reply starts with 'Error:' :-)10:31
fullermdThe poor guy who registered that nick doesn't   :>10:31
vilaOk, now we know we have a lp hacker around.... :)10:31
bialixvila: patch from naoki? vaguely10:32
bialixQt uses unicode10:32
bialixand I like that10:32
bialixwe need to encode data for python standard subprocess module because it can't handle unicode10:33
bialixbad python10:33
vilaright, I think this was mentioned in the discussion and it's unclear to me if a wroking solution was found (console encoding vs fs encoding IIRC)10:34
vilaseriously how come fullermd can read this bug report and bialix can ?10:36
vilacant10:36
vilabah10:36
vilaseriously how come fullermd can read this bug report and bialix cant ?10:36
bialixbabah10:36
lifelessvila: who is subscrubed10:36
fullermdYou received this bug notification because you are a member of bzr-core,10:36
bialixI'm just poor boy10:36
fullermd(of course, $DEITY knows how _that_ happened.  Some fool had a moment of weakness, maybe...)10:37
lifelessbzr-core is just bzr without plugins10:38
lifelessits not 'core developers'10:38
vilaha, of course. bialix ! Not poor, bad ! Not part of bzr-core, tsk tsk :)10:38
bialixyep, not part of bzr-core10:38
lifeless'bzr' is part of bzr-core10:38
fullermd(technically, I'm part of bzr, which is part of bzr-core)10:38
* bialix is bad? oh, man...10:38
vilared big flashing10:39
bialixyeah, yeah10:39
bialixI was joking too10:39
vila:)10:40
fullermdWell, now that the channel's all active, must be time for me to go...10:41
bialixto sleep?10:47
fullermdPerchance to dream.10:48
koskelahello10:49
bialixhi10:49
koskelaA question: Why pushing over sftp doesn't move any files? It just creates .bzr directory under my push directory, nothing else...10:50
bialixbecause push only sends the history of your branch10:50
bialixif you want to copy working tree files you need to use bzr-upload plugin10:51
koskelaoh... ok10:51
koskelaHow to check if it's installed?10:52
bialixrun `bzr plugins` and look for the line 'upload x.y.z' where x.y.z is the version of the upload plugin'10:58
bialixyou have to install it as upload, not as bzr-upload10:59
bialixkoskela: ^10:59
koskela1.0.0dev is the version11:00
bialixcheck `bzr help upload` for help11:01
koskelaOk... Do I remember totally wrong because I think it worked earlier that bzr push command uploaded the files too...11:02
bialixkoskela: there is also push-and-update plugin11:03
bialixmaybe you're using that in the past?11:03
bialixanyway, push updates working files only for push from local disk to local disk11:04
bialixor just to local disk, that's more correct11:04
koskelaOk...11:04
koskelaOh, ok, now I remember... At least another situation that I was remembering, was local directory to another local directory... Thanks!11:05
=== lionel_ is now known as lionel
=== kgoetz is now known as Kamping_Kaiser
GnxI've got a little problem, today bzr started hanging with the sftp connection and I can't even seem to google anything sensible for the error message14:24
bialixwhat's error message14:26
GnxDisconnect (code 2): Protocol error: packet 5 in interactive14:26
bialixshow the relevant part of .bzr.log14:29
Gnxumm, where would that be in the windows version14:32
bialixrun `bzr version` and you'll see the location14:32
bialixare you on windows?14:32
bialixare you using bzr.exe from standalone installer?14:33
* bialix bbiab14:33
* bialix back14:37
Gnxyeah, on windows14:37
bialixdo you have any special settings regarding ssh client?14:40
Gnxbialix: nope, it used to work just fine, and it still works for other team members15:00
bialixdo you see anything unusual in .bzr.log?15:00
jelmerhi Bialix15:01
bialixheya jelmer!15:01
jelmerHow are things?15:01
bialixdespite be busy with the main work? well, fine, thanks. today I'm trying to implement snapshots for scmproj15:02
bialixjelmer: and you?15:02
jelmerbialix: Same, busy but happy :-)15:03
Gnxbialix: this line 8.375  failed to load system host keys: [Errno 2] No such file or directory: 'C:\\/.ssh/known_hosts'15:11
Gnxbut, I don't know if that is it15:11
bialixGnx: it's harmless15:11
Gnxbecause it asks for my pwd anyway15:11
bialixGnx: are you using pageant?15:11
Gnxbialix: nope15:11
bialixcan you pastebin the relevant part of .bzr.log?15:12
bialixGnx: if you're using paramiko for sftp (which I believe is the default) you can set your password in the authentication.conf file15:13
bialixso you don't need to type it everytime15:13
Gnxoh, well didn't really mind doing that15:13
=== marienz_ is now known as marienz
bialixdoing that what?15:15
Gnxentering the password15:18
bialixnp15:20
bialixGnx: if you still encounter this problem try to ask in bzr ML or file a bug15:28
* bialix disappears15:28
sudhanshuhi all16:37
sudhanshuhow to setup enviornment using bzr16:38
sudhanshuanyone live16:38
sudhanshu?16:38
dutchieConflict adding file website.  Moved existing file to website.moved.16:45
dutchiehow can I use the existing website.moved file?16:45
sudhanshu__any one can tell me how i can start work on bzr for mixxx software17:01
sudhanshu__i've python 2.6.4 as well as bzr also17:01
sudhanshu__it's installed in my system17:01
ziniI am looking for a bazaar equivalent of statsvn (http://www.statsvn.org/). Any suggestions?17:31
beunozini, the best I canthink of is bzr-stats17:50
ziniI think I saw that while searching for a replacement. But it gives only stats about commiters, right?17:52
ziniWell, I am off. Thanks anyway.17:55
=== radoe_ is now known as radoe
=== james_w` is now known as james_w
strkbzr: ERROR: Operation denied because it would change the main history,20:41
strkhow to fix ?20:41
strkI did unbind, commit commit push20:41
strkthen pull, merge, commit20:41
strkand got lost :'(20:41
lifelessstrk: you need to checkout the branch, merge your branch into the checkout, and commit20:54
=== Adys is now known as Adys`
=== Adys` is now known as Adys
=== Garen_ is now known as Garen

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