/srv/irclogs.ubuntu.com/2010/12/29/#bzr.txt

speakmanhow do I get the path on the file system for a BzrBranch7 object?00:06
servertoodHi I created a shared repo with -notrees00:22
servertoodis this a good idea when I use bzr explorer I see no files - does this mean I will never be able to browse the repo only working copies on the repo?00:22
speakmanbranch.base did it...00:22
speakmanservertood: you can checkout a working tree with "bzr checkout"00:23
servertoodyeah I did that00:23
servertoodbut in the gui bzr explorer when I select the repo00:24
servertoodI see no files I assume because I created it with notrees00:24
servertoodok Im in explorer now and I commited files00:27
servertoodI guess I was expecting to see them in the main view00:27
servertoodI know see them in the pane to the bottom right under working tree00:27
servertoodif I bzr added a large number of files00:39
servertoodand realized I didnt ignore a certain file type00:39
servertoodis there a way to unadd them00:39
speakmanbzr rm --keep iirc00:43
* speakman still don't know how to get the file system absolut path of a repository from within bzr smart server00:44
speakmanlifeless: ping00:44
lifelesshi00:50
lifelesswhats up?00:50
servertooddoes bazaar come with an http repo browser?00:57
servertoodI havent run bzr server yet wasnt sure if that does it00:57
maxbservertood: It's called loggerhead01:03
servertoodk01:03
servertoodty01:04
=== BasicPRO is now known as BasicOSX
servertoodIm not a python dude01:53
servertoodloggerhead plugin blows up saying paste.exception pkg is not there01:53
servertoodhaving no luck getting it installed any ideas01:53
servertoodeasy_install wont install either saying its looking for python2.301:53
servertoodI have python 301:54
servertoodIm on osx01:54
speakmanlifeless: how do one get the file system path of a repo in a commit hook routine when bzr is running as a smart server?02:07
speakmanlifeless: the URL of the repo is somewhat obfuscated; filtered-172359628:///timespot/facelift-pure/02:08
speakmanlifeless: when committing directly to that repo, the URL is file:///srv/bzr/repo/timespot/facelift-pure/02:09
speakmanlifeless: the smart server is run as; 4155streamtcpnowaitbzr/usr/bin/bzr /usr/bin/bzr serve --inet --directory=/srv/bzr/repo --allow-writes02:09
speakmanlifeless: I'm using it to send change notifications to Buildbot fwiw02:17
=== BasicPRO is now known as BasicOSX
lifelessspeakman: you can unwrap that in python02:28
lifelesshave a look at the code02:29
lifelessits a pseudo chroot to prevent config files or the VFS etc being used to attack the host file system02:29
speakmanlifeless: ok, I did give it a try but I couldn't figure where to do the unwrapping02:46
speakmannow getting some sleep, then I might give it another try02:47
speakmang'nite02:47
jonnydeehi, is there gui support for committing only part of the changes within a file? (Like it is possible with TortoiseHG / Mercurial)02:59
jonnydeeI am considering to switch from Mercurial to Bazaar03:01
jonnydeeSorry, my notebook went into suspend mode. Did someone answer my question?03:02
lifelesshi jonnydee03:38
lifelessuhm03:38
lifelesscommitting only some changes - no ui support for doing that in one operation03:38
lifeless(AFAIK), but we'd like it03:38
lifelessyou can do it by hand using the 'shelve' functionality, which i think *is* exposed in the GUIs03:38
jonnydeelifeliss, thanks for your response. so with shelve I would select the hunnks that shouldn't be committed, shelve them away, and then commit?04:16
jonnydees/lifeliss/lifeless04:16
=== gthorslund_ is now known as gthorslund
=== Tak|Work is now known as Tak_
speakmanlifeless: please have a look at (and maybe update) https://bugs.launchpad.net/bzr/+bug/27026712:40
speakman$ bzr mv --after src/ts35_spec/window_ctrls.c src/window_ctrls.c13:52
speakmanbzr: ERROR: An inconsistent delta was supplied involving '<unknown>', 'ts35_spec-20080306092141-c3d3hfzalp83ngpc-1'13:52
speakmanreason: Parent not in inventory.13:52
speakmanAnd this is no SVN import or anything - pure bzr from the beginning13:56
speakmanhow do I make bzr detect file moves?14:04
Tak_did you try bzr mv --auto ?14:06
LeoNerdYou perform the move by   bzr mv old new14:06
LeoNerdOr if you've already done that, try   bzr mv-id ...14:06
speakmanmv-iD?14:06
speakmanmv auto?14:06
Tak_  --auto         Automatically guess renames.14:06
speakmanTak_: didn't work14:06
LeoNerdSo mv-id it14:07
speakmanremoved: src/ts35_spec/barcode.c14:07
speakmanunknown: src/barcode.c14:07
speakman$ bzr mv-id14:08
speakmanbzr: ERROR: unknown command "mv-id"14:08
LeoNerdOhwait, just mv ;)14:08
LeoNerdbzr mv  old new14:08
LeoNerdand next time, just use that to rename the file in the first place14:08
speakman$ bzr mv src/ts35_spec/barcode.c src/14:08
speakmanbzr: ERROR: Could not move barcode.c => src: src/ts35_spec/barcode.c is not versioned.14:08
speakmanLeoNerd: I use to. But this time I forgot.14:09
* LeoNerd nod..14:09
speakmanLeoNerd: Moving all files back to the originating place doesn't work either14:09
LeoNerdbzr mv old new     as I said14:09
speakman$ bzr mv --after src/ts35_spec/barcode.c src/14:09
speakmanbzr: ERROR: Could not move barcode.c => src: src/ts35_spec/barcode.c is not versioned.14:09
LeoNerdSince old doesn't exist and new is unversioned, bzr will work out what happened14:09
LeoNerdGive the full paths14:09
speakman$ bzr mv --after src/ts35_spec/barcode.c src/barcode.c14:09
speakmanbzr: ERROR: An inconsistent delta was supplied involving '<unknown>', 'ts35_spec-20080306092141-c3d3hfzalp83ngpc-1'14:09
speakmanreason: Parent not in inventory.14:10
LeoNerdbzr add src/14:10
speakman$ bzr add src/14:10
speakmanadding src/barcode.c14:10
LeoNerdbzr rm --keep src/barcode.c14:10
LeoNerdThen you can 'mv' it OK14:10
speakman$ bzr status14:10
speakmanremoved: src/ts35_spec/barcode.c14:10
speakmanadded: src/barcode.c14:10
speakman$ bzr mv src/ts35_spec/barcode.c src/barcode.c14:11
speakmanbzr: ERROR: An inconsistent delta was supplied involving '<unknown>', 'ts35_spec-20080306092141-c3d3hfzalp83ngpc-1'14:11
speakmanreason: Parent not in inventory.14:11
LeoNerdI'd be suspiscious of that "inconsistent delta" error...14:12
speakmanreally...14:15
speakmanare there any patch-reader tools outthere?14:20
speakmanTrying to solve this by making a .patch-file to be applied into a new branched tree. But the files is gigantic and I'd like to get an overview of it.14:21
speakmanSomething like gdiff for arbitrary patch file14:21
awilkinsWhich OS?14:27
speakmanubuntu 10.1014:27
speakmanbzr ver 2.2.114:27
awilkinsNot sure.... you could just apply the patch and view it with gdiff?14:29
awilkinsOr you could shelve it in the tree you've got and unshelve it in the other tree?14:29
speakmanhow do I move shelves?14:34
LeoNerdMove it where..?14:35
LeoNerdIf you want to move the entire shelf with all its items, into a different workdir; I believe it's just a directory, so you can just 'mv' it14:36
speakmanmove from branch to branch14:43
awilkinsOr you could render your current branch a checkout instead of a branch and switch it - but from the sound of it it might be too broken to allow that14:44
glyphhey, did any of you guys catch the recent python-dev thread about maintenance branch workflow?15:16
theadibhello, in order to check in which version a bug introduced I want to go from revision x (still working) to revision y (known not to work) step by step.18:09
theadibwhat is the easiest way to do this. Currently I have a a checkout and branch from a launchpad project18:09
beunotheadib, you can "bzr revert -r x"18:11
awilkinstheadib, `bzr bisect`18:11
awilkinstheadib, You might need to install the plugin ; if your "bad" property is testable in an automatic way you can even script it to locate the "bad" commit18:12
theadibbeuno, does this revert all changes until revision x?18:12
hsnwhat is lp url for pushing branch into project which is not mine18:12
beunotheadib, yes18:12
beunohsn, bzr push lp:~youruser/project_name/branch_name18:13
theadibbeuno, and what to do to go then to revision x +1?18:13
beunotheadib, so, if X is tip18:14
beunoyou can do18:14
beunobzr revert -r -218:14
beunothen, bzr revert -r -318:14
beunoand so on18:14
beunothat will step back one revision18:14
theadibok, thanks. How do I know which revision I am in? bzr info does not tell this information.18:20
beunotheadib, right, you know because you specified it in the command  :)18:21
beunoso you can either use -2, -3, -418:21
beunoor just substract one yourself18:21
applesorangeshey19:11

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