/srv/irclogs.ubuntu.com/2010/01/02/#bzr.txt

RAOFJordan_U: Got a read-only $HOME?00:00
Jordan_URAOF: No00:00
RAOFSure? :)  Lucid's been resuming with a readonly home for me on occasion ;)00:01
RAOF...and a read-only home is one trigger of that behaviour that I know.00:01
Jordan_URAOF: Yes, I have been working with files in $HOME without problems00:02
fullermdCheck ~/.bzr.log, make sure it's owned by you.00:02
Jordan_Ufullermd: Ahh, it's owned by root00:03
Jordan_UProbably from trying to use etckeeper with bzr00:03
* Jordan_U Thinks etckeeper in Ubuntu should not default to using bzr untill bzr can properly deal with being run with sudo00:04
Jordan_Ufullermd: That fixed it, thank you00:05
Noldorinhi00:50
Noldorini'm trying to install bzr-git on windows00:50
Noldorinbut am having no luck00:50
Noldorinbzr plugins does not list it.00:50
SupertankerIs there any reason I should not access a bzr branch stored on my Samba drive?01:11
bob2do you have filenames with : in them or mixed caase?01:12
SupertankerShouldn't be for the first; for my projects, I use all lowercase names01:13
SupertankerEr wait no.01:13
SupertankerI don't use all lowrcase names01:13
SupertankerBut the Samba share is hosted on a Liknux box and I don't have files with the same names but different cases in the same directory01:13
Supertanker(I do jhave a login.php in one directory and Login.php in another...)01:13
SupertankerYay, bzr for windows finally downloaded01:46
Noldorinhi01:58
Noldorini'm trying to use bzr dpush to push to a GIT repo, but am having the following problem:01:58
NoldorinC:\Users\Alex\Documents\Visual Studio 2010\Projects\IRC.NET\devel>bzr dpush git+01:58
Noldorinssh://git@github.com/Noldorin/IRC.NET.git01:58
Noldorinbzr: ERROR: [Error 2] The system cannot find the file specified01:58
Noldorinhi03:10
Noldorini'm trying to dpush using bzr-git03:11
Noldoringetting the following error though:03:11
Noldorin http://pastebin.com/m78e07c3603:11
fullermdAs a guess, version mismatch.03:34
fullermdThat's a reasonably recent bzr-git, and a several version back bzr.03:35
GuyFromHellanyone on gentoo know where olive-gtk is hiding?05:15
SupertankerWhat is this "treeless branches" feature I keep reading about, and why is it important?05:16
fullermdI dunno what you keep reading about, but a branch may or may not have a tree, depending on...  well, whether it has a tree.05:18
mneptokGuyFromHell: https://edge.launchpad.net/bzr-gentoo-overlay/05:18
mneptokGuyFromHell: bzr-gtk is part of that overlay05:19
GuyFromHellmneptok, oo, shiny. I could not find it anywhere05:19
GuyFromHellthank you05:19
mneptoknp np05:19
=== BasicPRO is now known as BasicOSX
Supertankerfullermd, what exactly is "tree" referring to?05:27
fullermdThe working tree, where you edit and read and touch and caress-by-the-fireside your files.05:29
SupertankerAh, okay05:29
* SamB_XP can't help but remember something about some windows pack-in called "wang" ...05:31
fullermdIf you have a branch with a [colocated] tree, you can get rid of the tree with 'bzr remove-tree', and you can get it back with 'bzr checkout'05:31
fullermd(and some args to reconfigure also, I believe)05:32
=== tro|| is now known as tro
patterni just did a "bzr add myfile", but then noticed that i'd misspelled the filename08:31
patterni haven't committed yet, so is there some way to "unadd" the file?08:31
fullermdWell, if you handed it a filename that doesn't exist, it shouldn't have done anything...08:31
patternit does exist08:32
patternbut there's a misspelling in the filename08:32
patternso i need to rename the filename08:32
patternand "unadd" it from bzr, then add it again with the right name08:32
patternthen commit08:32
patterni just don't know how to "unadd" it08:32
fullermdWhy unadd/readd, instead of just 'bzr mv'ing?08:32
fullermdAnyway, you'd use 'rm' to unadd.08:32
patterni tried rm and it complained about not being able to safely remove the file08:33
* fullermd stabbies the !@&$ DWIM crap in there.08:33
fullermdrm --keep08:33
fullermd(and then add a bzr alias for it so it stops trying to outsmart you ever afreakingain  :p)08:33
patternthanks, fullermd08:34
Noldorinhello11:46
Noldorini'm trying to use bzr-git to push a bzr branch to a git repo11:47
Noldorinhowever, i'm geting some horrible errors...11:47
Noldorinbzr: ERROR: exceptions.AttributeError: 'InterRepository' object has no attribute11:47
Noldorin 'fetch_objects'11:47
Noldorinthe full log is here: http://pastebin.com/m78e07c3611:47
bob2are you using dulwich,bzr-git and bzr trunk?11:48
Noldorinbob2: indeed i am11:48
Noldorini believe everything is installed correctly, though i had some trouble yesterday...11:48
fullermdNot on the latter you aren't.11:49
fullermdbzr 1.17 on python 2.5.2 (win32)11:49
Noldorinoh, that's true11:49
Noldorinodd11:49
Noldorini'm sure i had bzr 2.0 installed11:49
bob2you may well need actual bzr bzr11:50
Noldorinbob2: how do you mean?11:52
bob2as in bzr trunk11:52
Noldorinah right11:52
Noldorinhmm11:53
Noldorinbrb, restarting11:53
jelmerfullermd: What's the status of DWIM?12:15
fullermdvila landed it a few weeks ago.12:15
maxbIs there anything along the lines of architecture documentation for Bazaar? e.g. anything that helps understanding the internals?14:08
jmlmaxb, maybe in the HACKING guide or in the developer doc section14:30
jmlmaxb, in the tree, that is.14:31
jmlmaxb, I've mostly got a sense of things from looking at commands in bzrlib/builtins.py and drilling down.14:31
SabreWolfyUsing Ubuntu Karmic and trying to install bzr-explorer, but conflicts with qbzr version preventing this; latest qbzr version in Karmic is 0.14; bzr-explorer needs 0.1716:32
SabreWolfyany suggestions ?16:39
SabreWolfyAdding QBZR PPA solved16:43
Noldorinhi16:52
Noldorini hqave bzr 2.0 installed16:52
Noldorinbut for some reason, when i run bzr from the command line, it uses version 1.1716:52
Noldorinlooks like i have bzr 1.17 in my path somewhere, but i can't figure out where :S16:52
Noldorinanyone?17:04
verterokNoldorin: 'bzr version' should show the path to the executable and bzrlib17:08
Noldorinhmm ok17:08
verterokNoldorin: ops, only the bzrlib path17:08
Noldorinverterok: c:\Python25\lib\site-packages\bzrlib17:09
Noldorinyeah17:09
Noldorinsurely i want the one on program files though?17:10
Noldorinif i do...17:10
Noldorin"C:\Program Files\Bazaar\bzr.exe" version17:10
Noldorini get v 2.0.317:10
* Noldorin gets out procmon17:11
verterokNoldorin: check in c:\Python25\Scripts17:13
Noldorinok17:13
* verterok goes to the grocery store, brb17:13
Noldorinverterok: seems to be a bzr in there17:13
Noldorinshould i remove it?17:13
Noldorinah, removing it does the trick :)17:14
Noldorinthanks17:14
Noldorinnot bzr says it can't find dulwich :S17:17
Noldorinyet it's in the python path17:17
verterokNoldorin: if you'r using the standalone bzr.exe I think you need to install plugins in a different place as bzr.exe use it's own python interepreter17:44
Noldorinverterok: yeah, so it seems17:44
Noldorinany idea what i need to do with dulwich?17:45
Noldorinsince i want the bzr binary to use it17:45
Noldorinwell, bzr-git actually17:45
Noldorinverterok: i've pasted the git and dulwich folders into C:\Program Files\Bazaar\plugins17:51
Noldorinbut it's not recognising dulwich still17:51
NoldorinNo module named dulwich.errors17:51
NoldorinUnable to load plugin u'dulwich' from u'C:/Program Files/Bazaar/plugins'17:51
Noldorinbzr: ERROR: Unable to import library "dulwich": bzr-git: Please install dulwich,17:51
Noldorin https://launchpad.net/dulwich17:51
fullermddulwich isn't a bzr plugin, it's a python module/library/whatevertheycallit.17:52
fullermdI don't think you can use such things with the prebuilt bzr.exe; you'd have to use the python version.17:53
Noldorinfullermd: yeah, that's what i was thinking17:53
fullermd(Or I could be full of bullcaca; I don't really know windows)17:53
Noldorinwas wondering why bzr-git was looking for it in plugins there17:53
Noldorinheh17:53
Noldorinfullermd: i think you may well be rigtht - i may need the python version17:53
Noldorinfullermd: hrm, can't i just edit the PYTHONPATH for bzr.exe somehow?17:54
Noldorinhttp://osdir.com/ml/bazaar/2009-11/msg00361.html17:54
fullermdI'm not sure you can; bzr.exe bundles it all up internally.17:55
Noldorinhrm17:55
Noldorinfullermd: so you recommend i just set up the python version of bzr 2.0, etc.? will it happily coexist along side the exe version?17:57
fullermdI have no idea.  It's been 13 years since I had a system running Windows.17:57
Noldorinhah ok17:57
fullermdI'd tend to think having both would be sticky.17:58
fullermdBut it may not be.  I'm well into "guessing" territory there.17:58
Noldorinmm, as am i17:59
Noldorinfullermd: if i only have either in my PATH, then things might be ok18:00
Noldorinbrb18:01
Guest46284hi. Is there a way of finding out what "bzr update" will do without actually running it18:11
Noldorinhello. do i need the python installation of bzr to run bzr-git/dullwich?18:58
maxbIs Bundle Buggy genuinely still alive, or does HACKING.txt lie?19:46
patterni have a question regarding how best to do something with bzr...20:00
patternit's a little long, though... so rather than flooding the channel, i've pasted the question here:  http://paste.pocoo.org/show/161426/20:01
gutworthpattern: you can just commit specific files20:07
gutworthor use a makefile which will only rebuild things if there is a change20:08
gutworthor make an ignored file where you list files to ignore20:08
patternwell, i could use a makefile that ignores files that aren't changed... however, LaTeX will still read them all to create the new pdf... so it doesn't really help20:09
patternthe only way to have those files not read by LaTeX is either to comment out the code that includes them, or to delete that code20:11
gutworthcommit specific files then20:11
patterni do commit each individual file in bzr20:12
patternbut the problem is more with the files that have the code that includes the individual files20:12
patternthey're like #include directives in c20:13
patternand i have those lines commented out while i'm working20:13
patterneach of those include directives is just \include{foo}, where "foo" is the filename20:14
patternso it's not like the file that has these include directives actually contains the whole file it's "including"20:14
patternit's just a direction to the compiler to include the file20:14
patternthe contents of those files are completely seperate from the file they're included in20:15
patternand both the file that's doing the inclusion and the included file are seperately versioned in bzr20:15
gutworthwell, that's tricky20:16
patternyep :)20:16
gutworththere must be some way to avoid rebuilding deps if they're not changed20:16
patternthat's why i come to the experts :)20:16
patterni'm pretty sure there's no way to avoid rebuilding the files that haven't changed other than either commenting out or deleting the include directives20:18
patternactually.. there might be another way20:21
patterni think LaTeX has some control flow commands, which i haven't been using yet20:22
patternbut i should look in to them20:22
patternthat way it could maybe skip a part of the file if a variable is set20:22
patternthat would be idea20:22
patternideal20:22
patternthen the variable could be set from the makefile20:23
patternand make could be told to set this variable from the command line20:23
patternthat would be perfect20:23
patternhmm... but now that i think about it... it might not solve the problem after all20:25
patternas, say i bracketed off files 1-95 as being compiled or not depending on a variable... and check that version of the include file in while i worked on files 95-10020:26
patternat some point i'll want to bracket off files 1-100 while i work on files 100-105 instead20:27
patternand that will entail rewriting the code in the include file20:27
patternunless maybe i think of some way to reduce the granularity such that i can somehow include each individual file or not, from the command line20:28
Noldorinhi. do i need the python installation of bzr to get bzr-git/dulwich to work on windows?20:28
patternanyway... this gives me some leads...20:28
patternthanks for your help, gutworth!20:28
Noldoringetting the following error at present: http://pastebin.com/m3a6a2e4e20:29
=== Guest46284 is now known as andrewblack
maxbHow alive/dead is the BundleBuggy project now that bzr itself no longer uses it?21:13
Noldorin>hi. do i need the python installation of bzr to get bzr-git/dulwich to work on windows?21:15
=== khmarbaise_ is now known as khmarbaise
Noldorinbob2: ping?22:04
bob2I don't have an answer22:04
bob2I was just wondering if you'd asked on the list22:04
bob2lots of people are on holidays atm so might not see discussion on irc22:05
Noldorinyeah, good point22:05
Noldorinprobably worth a shot22:06
Noldorinbob2: it's a pain to set some of this beta stuff up when you don't know much about python (as i don't)...22:06
Noldorinit seems it's just dulwich that's causing the problem22:06
Noldorini want bzr.exe to recognise it in the path22:06
Noldorinhrm22:07
patterngutworth: i finally figured out a solution for my problem... what i'll do is keep all the include directives uncommented in files A and B, and then have my makefile run them through a filter that will comment out what i need and save the output under a new name, say A2 and B222:13
patternA and B will be versioned, but A2 and B2 will not22:13
patternand A2 and B2 will be the files that latex uses to compile22:13
patternof course, what the script run by the makefile comments out will depend on what options i pass to make on the command line22:14

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