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

lifelesssssss01:34
litwolHello. Is there a way in bzr to find out what will be updated if i execue 'bzr update' command ? similar to 'svn status -u'01:52
spivlitwol: hmm, not that I know of.  It probably ought to have a --dry-run or --preview option (like 'bzr commit' and 'bzr merge' do, respectively).02:34
spivlitwol: file a bug?02:34
lifelesshi poolie02:49
twisted_steelwhat is the option to package all files from a repository into a tar.gz? I did it 6 months ago, but can't find it any more03:14
lifelessbzr export foo.tar.gz03:14
twisted_steelahh, export.  thank you03:14
=== khmarbaise_ is now known as khmarbaise
patterni interrupted bzr in the middle of a commit... is there a chance of its database getting corrupted?05:23
Pengpattern: Perhaps if you're using an extremely old disk format. But otherwise no.05:31
patterncool05:33
patternthanks05:33
vilaspiv: ping07:36
vilahi all ! :)07:36
=== gerard_1 is now known as gerard_
AnteruHi08:47
gerard_sooooooo09:25
gerard_when is this bug going to be fixed? https://bugs.launchpad.net/bzr/+bug/11380909:25
ubottuUbuntu bug 113809 in bzr "update performs two merges" [High,Confirmed]09:25
gerard_the attached patch looks good to me (though I have only little experience with the internal workings of bzr)09:25
gerard_gogo bazaar devs09:26
gerard_I love the rest of bazaar but this just plain sucks09:26
gerard_that bug is a duplicate of a lot of other bugs btw09:28
gerard_those really should be marked that way09:28
spivgerard_: huh, there's a patch that was partially approved that disappeared.09:29
spivgerard_: I just poked vila, the patch pilot this week, by email to suggest he take a look.09:33
gerard_thx09:33
gerard_my boss already finds bazaar a little scary, no need to keep bugs like this around09:34
vilaspiv, gerard_ : I'll have a look at it but it seems to require more work, it was reviewed 'Needs_fixing' not 'Approved'09:36
vilaspiv: are you around or not really ?09:36
=== gerard_1 is now known as gerard_
gerard_vila: is there any reason noted why it needs fixing?09:54
vilahttps://code.edge.launchpad.net/~craighewetson/bzr/update_with_local_commit/+merge/1032009:55
spivvila: not really, but I may glance at IRC from time to time...09:55
vilaspiv: ok, how about a few questions of the per-file merge hook ? There are two points that compromise the landing: 1) repeated access to the config, 2) license for the cachedproperty09:56
vilaspiv: you're away until thursfay (at least) right ?09:57
vilasurfday, yes, *Thursday* damn it09:57
gerard_vila: ah, so it needs some minor changes?10:01
gerard_I could make those later this week10:01
gerard_I've already written a testcase for it anyway10:01
gerard_I think I also have a better error message10:02
vilagerard_: good, I'll look into it then, the weird thing is that the merge proposal is marked as 'Merged'...10:03
spivvila: for 1, make the plugin store it on the hook params, e.g. "val = getattr(params, 'news_merge_files, None); if val is None: ..."10:03
spivvila: for 2, someone needs to ask an LP person about it10:03
spivvila: it's not "crown jewels" code so I doubt there will be any issue, but it might take time to find the right person and get them to say "ok".10:04
vilaspiv: 1) ! of course, I thought about caching it but didn't think about letting the plugin do it10:04
vila2) But why do you think your first version was bogus ? I didn't *test* it properly but..10:04
spivvila: probably flacoste or maybe even ask jml10:05
spivvila: the cache was global, not per instance10:05
vilaglobal ? A local variable ? What makes you think so ?10:05
spiv(Two different definitions that used @cachedproperty would have their own cache, but not two instances of a class)10:06
vilaha, yes10:06
vilahmm, still, I preferred your lighter version :-/10:06
spivvila: try "class C(object): def __init__(self, x): self.x = x; @cachedproperty; def y(self): return x**2", then "print C(1).y, C(2).y"10:06
spivvila: so, FWIW, I read through the LP version and I think it's good and correct10:07
spivvila: and as short as it can reasonably be while being as featureful and clear as it is.10:07
vilaspiv: ok, I'll look into it and try to get an approval for the additional diff (time to use that pre-requisite parameter again :)10:08
vilagerard_: weirder, it seems that the original branch has been replaced with bzr.dev, lp shows an *empty* diff so I don't even know where the code is right now, I'll ping craig in the mp about it10:16
gerard_vila: :o10:18
vilagerard_: That's the first time I see such a weird thing...10:19
cjwatsonso, the new 'bzr rebase-foreign' command sounds like exactly what I've been after for a while.  However, when I run it (in a checkout of lp:~ubuntu-cdimage/debian-cd/ubuntu, with NEW_BASE pointing to a checkout of lp:debian-cd) it just says "Nothing to do."  Am I doing something wrong?11:48
cjwatsonis it possible that bzr-rewrite can only deal with branches imported using things like bzr-svn, not cscvs?11:48
cjwatsonI wouldn't mind (all that much) having to generate a map for it matching up old and new revision ids, if I knew how ...11:49
swathanthrancan i some how know how much data i would be downloading, before doing a bzr update?12:36
* swathanthran wanted to update his emacs trunk.12:36
=== mrevell is now known as mrevell-lunch
maxbswathanthran: I don't think such support exists.12:56
vilacjwatson: I don't think there are constraints on the branches except for some common ancestry and the fact that the revisions you want to rebase are not already part of the branch you're targetting, but I confess no experience with rebase-foreign13:08
maxbcjwatson: I think the problem is that your branches don't match one of the preexisting matcher algorithms written into the plugin. Some custom hackery is probably needed. Especially as there seems to be an off-by-one relationship in revision numbers and arch patch-X numbers between the two branches.13:12
cjwatsonmaxb: indeed, base-0 would translate to r1 in bzr-speak, patch-1 to r2, etc.13:20
maxbNot quite what I meant - both of your branches have arch-derived revids, but base-0 in one is patch-1 in the other13:20
Morbusg'day, i'm trying to tweak the bzr emailer.py to get the branch nick into the subject line.13:32
Morbusso, since branch is added to self in the init, i was hoping to add self.branch to the subject() function.13:32
Morbusbut, i'm not sure how to get the branch *nick* - i'm not a python coder.13:32
Morbusis it just magically branch.nick? ;)13:33
Morbusself.branch.nick, rather.13:33
maxbtry it and see? (I think it is)13:33
Morbusyeah, i had just tried it, but intro'd a syntax error somewhere else and panicked ;)13:34
* Morbus is trying again.13:34
vilait is, but where did you find an emailer.py ?13:34
Morbusbzr: ERROR: Server sent an unexpected error: ('error', 'not all arguments converted during string formatting')13:34
Morbushttps://launchpad.net/bzr-email/trunk13:34
Morbusalso linked from the bzr plugin handbook guide thingy.13:35
vilayeah the plugin, found it fater asking ;)13:35
vilaerr, after13:35
Morbus   def subject(self):13:35
Morbus        return ("[bzr] [%s] r%d - %s" %13:35
Morbus                (self.branch.nick,13:35
Morbus                 self.revno,13:35
Morbusis the start of my revised subject line.13:35
Morbusand is giving the above error.13:35
Morbuson commit.13:35
vilathe error means that you have more arguments than mentioned in the format,13:36
Morbusah, tht's true.13:36
vilaUse paste.ubuntu.com instead of pasting here13:36
Morbusi left the url in cos i didn't want to delete it.13:36
Morbusthought extra args would just be ignored.13:36
vilaMorbus: ha, coming from C ? ;-)13:37
Morbusnah, php/perl.13:37
Morbusi don't even know if it works over there, honestly ;)13:37
Morbuswelp, no errors that time.13:38
Morbusnow just have to wait for the email.13:38
Morbus:D13:38
vilaMorbus: congratulations !13:38
Morbusi'm surprised emailer isn't being regularly updated.13:38
vilaMorbus: bzr core is, I'm pretty sure almost all of emailer.py should be deprecated and use the core version instead but nobody found the time to do that so far13:39
Morbusvila: wait, there's a core version?13:39
Morbussince when?13:39
Morbusi just set this up a few months ago.13:39
vilaMorbus: well, smtp_connection is part of core, I'm sure about that. There are certainly features of bzr-email that are not, I just don't know exactly which13:40
maxbcjwatson: I hacked it to guess the relationship between your revids, and it rebased 395 revisions, but then it exploded with an AssertionError when it first hit a merge in the ubuntu branch. I'm afraid I'm out of time to look at it today. :-/13:40
Morbusvila: ah.13:41
Morbusemail came through. self.branch.nick works fine. thanks much.13:47
cjwatsonmaxb: *nod*, thanks for looking13:48
=== mrevell-lunch is now known as mrevell
swathanthranok.. i used http://bzr.savannah.gnu.org/r/emacs/trunk/ to do the initial checkout last week.. now it looks like that trunk is blank but latest revision is seen on lp how can i change the url of bzr update?13:53
cjwatsonswathanthran: you mean blank as seen in a web browser?13:59
vilaswathanthran: what does 'bzr  log -l5 http://bzr.savannah.gnu.org/r/emacs/trunk' says ?14:02
swathanthranwhen i do bzr update it says uptodate upto revision 99318. but launchpad has it up to 9937514:05
swathanthranbzr log -l5 shows only upto 2010-01-1314:05
vilaswathanthran: so the trunk is not blank, good.14:05
vilaNow you have to decide which branch you want to track. Is the lp one supposed to be a mirror of the savannah one ?14:06
swathanthranoh sorry i forgot to add the link:)14:06
rubbsswathanthran: do you have a branch or checkout?14:07
swathanthranok.. i have a checkout of trunk and i want to update trunk..14:07
swathanthranbzr log -l5 http://bzr.savannah.gnu.org/r/emacs/trunk shows it upto 19 itself.. so the branch don't have a problem..14:07
swathanthranterribly sorry i have to go out now..14:08
rubbsoh. ok. I'll keep thinking14:08
lornajaneapparently my branches have diverged.  That doesn't sound good to me14:09
vilalornajane: 'bzr missing' should display the differences14:10
rubbsdiverged branches mean that you have a branch and someone else has a branch and that you both want to push to the tree. The other person(s) have already pushed14:10
rubbsyou have to do a merge to make yours work14:10
lornajaneyes, I've been offline for a few days14:10
lornajaneI have a lot of local commits and the rest of the team have been working too14:11
lornajanethis is exactly why I use bzr-svn :)14:11
lornajaneits just that I've only just started and I'm confused.  Your explanation doesn't sound like its broken though, so I'll try the missing thing and see what happens14:11
lornajaneThe bzr error message about the diverged branches was very friendly and helpful14:11
rubbsgood to hear.14:12
rubbslornajane: http://doc.bazaar.canonical.com/bzr.2.0/en/tutorials/tutorial.html?#merging-from-related-branches that might help a little too14:14
lornajanerubbs: thanks!  I'll look14:14
rubbsnp14:14
lornajaneI expected it to just update and either merge it or conflict14:15
rubbsbzr tries to do the safest thing when possible. It wants you to merge it explicitly because a merge in the background could throw some things off.14:17
rubbsit's safer to just tell you that the branches are now diverged and let you know that you have to merge them.14:17
toytoyguys, anyone have successfully installed bazaar in eclipse?14:18
toytoyrubbs, are you talking to me?14:19
lornajanerubbs: makes sense once you know that's what's happening14:19
toytoyah no, sorry14:19
rubbstoytoy: heh. no problem.14:20
rubbslornajane: good. We try to make it less complicated14:20
rubbstoytoy: I haven't played with eclipse in a long while.14:20
rubbstoytoy: are you looking for full integration?14:20
rubbsor just looking for bzr to be separate?14:21
=== vednis is now known as mars
toytoyrubbs: yeah, somewhat like cvs feature in eclipse. that is cool! I want something like that for bazaar. is there any?14:30
rubbsas far as I know, there is, but it takes some setting up. I'll see if I can find the docs again.14:31
lornajaneI don't think I understand the workflow of this :(  So normally I just pull changes14:32
lornajanemy branches had diverged, which is fine14:33
lornajaneso I merged, I got a conflict, I resolved that and marked it as resolved14:33
lornajanenow I'm confused by two things14:33
lornajaneone: stuff that is coming in is showing as local changes in my working directory14:33
lornajanetwo: I have a pending merge tip, no idea what that is or what I should do about it14:34
lornajaneshould I be RTFMing? I can't quite see how this process is going to work14:34
rubbstoytoy: http://wiki.bazaar.canonical.com/BzrEclipse/Installation14:35
toytoyokay rubbs, I found one but yeah it doesn't work perhaps i need to do more. I got this error bzr: Error: no such option: --short14:35
toytoydo you know that one? yeah that's the one i'm installing, indeed14:35
rubbstoytoy: I'm not sure if bzreclipse is still in active development. I'm not sure if anyone else knows more. I know it has been done before, I just can't find out where.14:36
rubbslornajane: problem one: My guess is you have one branch, and you merged in your changes from the trunk correct?14:37
lornajanerubbs: correct14:38
rubbslornajane: if that is the case, then that is the reason your trunk looks like the "local" branch. When doing a merge, the place you are merging is on the left side. The place you are getting the merge from (i.e. the trunk) is always on the right. There is a way to get around this...14:39
rubbslornajane: you actually need two branches in this case (if you always want to make the trunk on the left). One branch will be your branch you have now. and the other branch will be a Mirror of the trunk.14:40
rubbsso you would have to create a branch from the trunk. cd into that mirrored branch, and then merge in the changes from your original branch.14:40
rubbsthen you can push your mirrored branch back to the trunk.14:41
rubbsdoes this make sense so far?14:41
rubbsit's a little complicated, but once you get it, it kind of make sense14:42
rubbsyou want a "mirror" of your trunk, and a "working branch." Once you are done with your working branch, you merge them into your "mirror" and then push from the mirror. Your working branch can then be updated.14:43
lornajaneI *think* I understand :)14:44
rubbsfor problem two it's a little more simple14:44
rubbsbzr doesn't automatically commit after all the conflicts are marked resolve (or for any merge for that matter). To finish your merge you have to do a commit. I usually just say "merging in xxx branch" in the message.14:45
lornajaneright14:46
rubbsthe pending merge tip is just telling you that in this commit the merge will take the two "tips" or "heads" and merge them to one.14:48
rubbsI might raise a bug about how best to set up a workflow for people in your situation. We've had a few people with similar problems before.14:49
=== salgado is now known as salgado-lunch
lornajanerubbs: even a picture I think would help.  I am confident with SVN and I can't be the only person moving over14:53
rubbsI think I'm gonna work on that now. I'm working on a "google doc" that will be really basic, but at least it's something.14:54
rubbsI'll show it to you in a few minutes.14:54
rubbsafter I show you I'll work on polishing it up.14:54
lornajanerubbs: sounds great :)  I hope I'm not making work for you!14:55
rubbslornajane: not at all! your distracting me from work I really don't want to do (I've been searching for a reason to procrastinate all morning ;) ) and I have plenty of time to get it done14:56
=== jfroy_ is now known as jfroy
lornajaneso, I'm definitely making progress, but I'm sort of confused on what to do next15:01
lornajaneI have updated and put my branch changes into my trunk.  Now I want to push the commits I made back to subversion (I used bzr-svn to check out).  Can I send the commits as they were done locally or can it only be a monster commit?15:03
rubbslornajane: you know, I'm not entirely sure (I've done very little bzr-svn work myself)15:06
lornajanerubbs: hehe, maybe I'll improvise and then blog about it.  I can clean up in SVN if I have to15:07
rubbsI'm sorry.15:07
vishhi.. how to do a merge in lp? ken Accepted the merge , but he isnt sure how to do it...  ;)  https://code.launchpad.net/~vish.../ubuntu/lucid/human-theme/bug507632+bug495644/+merge/1753815:07
vish do i set the status to "merged" or... does  he have to do it?15:07
rubbsvish: whoever has write access to that particular branch can do it. They do it by pulling from the trunk (mirror whats on lp) and then merge in the changes from your trunk (off of lp) and then push the result to the lp trunk.  At least I'm pretty sure that's what will work. It's been a while for me to be honest.15:09
vishah , i thought so too.. :(15:10
vishbut it seems a waste of bandwidth ;p  if the user has changed only one line of a huge branch , the author has to fully download the merge branch too :s15:11
rubbsno... they don't actaully15:11
rubbsif they just use the lp: shortcuts, it only will download the changes15:11
rubbsso you only need a mirror of the trunk.15:11
rubbsusing ssh+bzr will keep the bandwidth down to a minimum15:12
rubbsso in the trunk the command would be "bzr merge lp:branch-to-merge-from" and then once that's all done "bzr push lp:trunk"15:12
rubbser by in the trunk I meant in the mirror of the trunk15:12
vishrubbs: ah.. ok thanks :)15:13
rubbsnp15:13
* cjwatson typos 'bzr blog'. Hmm.15:17
Kinnisonhmmmmm indeed15:19
* Kinnison ruffles cjwatson 15:19
cjwatsonLTNS!15:19
cjwatsonjam: thanks so much for the fix for bug 494269.  I find the notion of being able to change the tree root rather magical ...15:20
ubottuLaunchpad bug 494269 in bzr/2.0 "tree transform cannot change root id" [High,Fix released] https://launchpad.net/bugs/49426915:20
maxbooh15:21
jamcjwatson: yeah, I think there are still some paths that don't get it right, but at least more of them are working now15:21
vilacjwatson: try lp:bzr-guess :-D15:21
* maxb should retest15:21
vilamorning jam !15:21
jammorning vila15:21
maxbI managed to get some WTs into an entertaining state by pull --overwrite-ing and unrelated branch15:22
cjwatsonvila: hah15:22
Kinnisonvila: ooh handy15:22
* Kinnison installs15:22
vilajam: just a quick check from patch pilot to patch pilot :) Do you still take care of the ignore-exception mp and the 392428 one ?15:22
vilabialix: any news about gary ? I don't remember seeing him here these days...15:23
bialixhi vila, jam, et al15:24
bialixvila: I've chatted with him last night15:24
cjwatsonjam: merge-package (lp:ubuntu/vim <- lp:debian/vim) is mostly working now, but I'm getting a load of "Conflict adding files to Contents.  Moved to root."  What do those mean?15:24
bialixGary made qbzr 0.14.6 release last night15:24
cjwatsonContents being an actual file in the vim tree15:24
vilabialix: ok, I'll ping him from lp about his unicode-bom-detect mp then15:24
bialixunicode? do you have a link?15:25
vilahttps://code.edge.launchpad.net/~garyvdm/bzr/unicode_bom_detect/+merge/1707615:26
bialixthx15:27
bialixinteresting15:28
vilabialix: Yeah, what did you expect from Gary ? :-D15:29
bialixme? anything!15:29
vilahehe15:31
lornajaneI'm reading some instructions here http://www.szakmeister.net/blog/2009/oct/12/bazaar-subversion-super-client/ which suggest I want to merge to the repository rather than pushing.  Does anyone have any thoughts on that?  I'm using bzr-svn and I want to push changes on my trunk back to subversion15:38
rubbslornajane: not sure about what you just posted, I'd have to read it. but I finished my very rough slide presentation.15:41
rubbshere it is: http://docs.google.com/present/view?id=dhc4j5xm_90gr8227ch15:41
rubbsif the current directory marker is in open space that means the directory just above the branch directories.15:42
rubbsopps just realized that my permissions on that file were a little too tight. if you had trouble you should be able to view it now15:44
lornajaneI can see it15:45
lornajanethat's a good description of what I was doing with the simple changes15:45
rubbsok, cool. I'm also reading the article you posted above.15:46
rubbslornajane: the article correct, you want to merge into the mainline, but they mean the mirror of the mainline (I think). That means that your mirror on your computer should *always* be treated as if it were the subersion server. That way you always get your history right. Once you have checked that it's correct, you can then push up to the server.15:51
lornajanerubbs: but will my many commits to there be many commits to SVN or just one?15:51
rubbsjust one. if you want to do many commits you need to look at rebasing.15:52
lornajanemeh, I thought this was going to be much easier :)15:52
rubbsthat article seems to have a section on it15:52
rubbsrebasing "rewrites history" so that all your commits look like they came from the latest revision instead of an old one (which is what is happeing with yours)15:53
rubbsthat way you can then push up to the main branch and it will all look like your commits came from the tip. and you will get all your commits as little ones rather than as one big one15:53
lornajanethat sounds promising15:53
rubbsit's a flaw with svn in that it doesn't keep merged history15:53
lornajaneI'm hoping this will get easier/quicker as I get used to it15:54
rubbsthat's why a merge in svn will look like one big commit.15:54
lornajaneI've spent half my afternoon wondering how to update and commit :)15:54
rubbslornajane: I don't use svn that much anymore but this will get easier with a little practice. most of it isn't that time consuming, just a little bit of work in the begining15:54
rubbsonce you get a workflow that works, it's pretty easy15:54
rubbs < lornajane> I've spent half my afternoon wondering how to update and commit :)15:55
rubbs^^ been there before15:55
jamcjwatson: my best guess is that the same file exists in both branches but with a different file-id, so we get a conflict and have to put the files side-by-side15:57
lornajanerubbs: yes I'm sure I've been here before too :)  I'll always be using central SVN repos but I love having bzr functionality on my working copy, if I can figure this out its going to be excellent15:58
rubbslornajane: I think it will work out for you. If you have more questions, just let us know. We'll try to help you out.16:02
lornajanerubbs: this channel has been great so far - and the community is the main reason I'm persevering with this rather than following the crowd in my sector to git16:05
cjwatsonjam: that was my first guess, but there are no .moved files or similar in the working tree16:06
jamcjwatson: the other possibility is the root id issue. In that in one tree it looks like Contents should be in '' with root id X, and in the other tree it looks like it should be in '' with root id Y. And root id Y isn't present in the first tree, so it seems like a conflict16:06
jam(root ids are mostly allowed so that you can do stuff like join by reference or join by value, and have things show up in the appropriate subdir)16:07
rubbslornajane: I use git a little too (for work) it's not bad. Their community has worked well for me. For me though... bzr-svn had a few less problems than git-svn and a whole lot less problems than hg-svn. That and bzr makes it easy to contribute back to them ;)16:07
jamit wasn't really intended that the *same* project should get 2 root ids16:07
jamhowever, people did 'bzr init' 2x, rather than 'bzr init + bzr branch'16:07
jametc16:07
jamespecially with the udd stuff16:07
=== salgado-lunch is now known as salgado
cjwatsonjam: right.  It's a bit of an incomprehensible message though - what am I meant to do with a conflict when I have no alternatives to choose between? :-)16:08
lornajanerubbs: I just can't bear ruby fanboys telling me that if I don't think git is the best thing ever, then I know nothing.  These are just tools and I just want to use them, not argue about it16:09
lornajanegit is pretty good, sure, but if I'm going to get flamed in their channels then I'd rather use something else :)16:09
rubbshaha good points16:11
=== quicksil1er is now known as quicksilver
=== beuno is now known as beuno-lunch
starenka_hi, i just want to checkout/branch source from a lp project (bzr :D), is there a way how to checkout "lightweight"? I mean i dont need any history, just need the lastest source to compile it17:19
starenka_(bzr n00b, sorry)17:20
jderosestarenka_: bzr checkout --lightweight YOUR_BRANCH17:21
starenka_ty17:22
=== maxb_ is now known as maxb
=== beuno-lunch is now known as beuno
=== lifeless1 is now known as lifeless
eydaimonI'm wanting to merge to specific files from one branch to another.  bzr merge ../trunk/file1 ../trunk/file2 gives errors complaining about extra arguments, and merging one file at a time gives error during merging of second file saying there are uncommitted changes. How can I merge more than one file at a time?18:37
KinnisonErm, bzr operates by revision for merging IIRC18:38
Kinnisonso you can't really merge by file18:38
Kinnison(unless this is a new feature I didn't know about)18:38
eydaimonbut it appears to be very possible to merge just one file18:38
eydaimonseems to me I would have to merge and commit one file at a time otherwise18:39
eydaimonand if I can do that, it should support multiple18:39
KinnisonWhy do you want to only merge specific files; rather than revisions?18:39
eydaimonwhat if the files are spread out over multiple revisions?18:39
eydaimonand there are other changes in those revisions I don't want merged18:40
KinnisonSounds like a very unfortunate situation18:42
KinnisonI honestly don't know; sorry18:43
Kinnisonyou could try:18:43
Kinnisonfor F in file1 file2 file3; do bzr merge -force ../trunk/$F; done18:43
Kinnisonsince the --force option makes merge ignore uncommmitted changes and continue anyway18:43
eydaimonwell, luckily it's not happening. I can actually use the change18:43
KinnisonI'd prefer using the revisions18:44
Kinnisonsince then history is nice and neat18:44
eydaimonbut to me it's easier to keep track of what files I need rather than the revision18:44
eydaimonand since the above case is possible... just seems like something that would be supported18:44
eydaimonwhat's the bzr file needed to specify username?18:46
Kinnisonusername?18:46
maxbeydaimon: Try using bzr help whoami18:47
KinnisonIf you want to tell bzr what author/committer name to use, then do: bzr whoami "My Name <email@domain.com>"18:47
eydaimonfound18:47
eydaimon~/.bazaar/bazaar.conf18:47
eydaimonwell, one guy is checking in as root...18:47
Kinnisonthat guy needs to be spanked18:47
Kinnison(unless you're doing some kind of etckeeper thing)18:47
eydaimonhe didn't want to touch his mac by installing stuff on it, so he is running virtualbox with redhat and doing his dev on there....18:50
eydaimondon't ask ...18:50
* Kinnison won't :)19:00
lifelessKinnison: he might like it19:00
KinnisonIn that case, even if I were tempted to ask; I wouldn't want to know :-)19:02
eydaimonheh19:15
=== salgado is now known as salgado-afk
ChocoboHi all.  How well does bzr handle large files?  I know this is an issue with hg and git.20:46
luksnot much better, I guess20:48
lukswhat specifically are you interested in?20:48
ChocoboOh I have a project with a lot of large binary data files.20:50
lifelessChocobo: how large is large21:01
Chocobo100 MB or so.21:01
ChocoboI would like to keep it in revision control because it is part of the project.21:02
lifelessas long as you have 300MB ram it should be fine.21:03
lifeless[and you are using 2.x]21:03
NfNitLoopHrmm.  'bzr log' on this svn branch doesn't show 'svn revno:' for something I pushed from my local branch.21:04
NfNitLoopNot sure what's causing that...  doesn't seem to generate an error or anything.21:05
NfNitLoopOh, come to think of it, it doesn't show svn revno for anything that was a result of a merge, it seems.21:06
NfNitLoopI guess so it can continue to show the bzr mergeinfo?21:06
maxbHmm, the bzr-beta-ppa is not in very good shape :-/21:16
maxbIs there any convenient trick to running bzr from a working tree, but with C extensions?22:16
maxbOr should I find somewhere in my homedir to install it to, and use PATH and PYTHONPATH?22:16
fullermd_`gmake`22:16
maxboh, neat, I didn't even look for a Makefile once I'd seen the setup.py22:17
=== abentley1 is now known as abentley
igcmorning22:27
lamontgiven a CVS repo with N branches, and possibly some violations of nature (hi lifeless), is that trivial to import into bzr yet?  even at one directory tree per branch?22:46
lifelesslamont: cvs2svn can output fast-import streams22:49
lifelesslamont: if it can handle your repo, then yes.22:50
lamontah, cool22:50
lifelesslamont: as we can import fast import streams22:50
lamontand FWIW, it's not _my_ repo (this time)22:50
* lamont cries a little as 'rcs' and 'subversion' both wind up on his machine22:51
maxbcvs2svn(bzr) does a decent job these days. Give me a prod if you find a problem, I've been hacking on it lately22:53
lamontwill do22:54
rockstarjam, you're not at LCA are you?23:02
mwhudsonrockstar: he is not23:03
jamrockstar: nope, I believe lifeless is23:03
rockstarjam, I wonder if I might schedule a call with you tomorrow as I land the last of the branch upgrade work.23:04
rockstarEr, the launchpad branch upgrade work.23:04
jamrockstar: sure, what time is good for you?23:06
jamI need to be going soon, though23:06
rockstarjam, how 'bout 10 AM your time tomorrow?23:06
jamrockstar: sounds good right now23:07
rockstarjam, okay.  If something comes up, feel free to send me an email with a new time.23:08
=== khmarbaise_ is now known as khmarbaise
maxbbzr-rewrite is eating my brain23:19
cjwatsonlamont: I did actually manage to use cscvs to import multiple branches; since there was already a cvs->bzr import on Launchpad using cscvs, I figured I was best off sticking with the same tool23:28
lamontcjwatson: coolness.23:29
cjwatsonlamont: https://code.launchpad.net/~cjwatson/launchpad-cscvs/openssh-branch-imports for the gross hacks involved23:29
lamontnice23:29
lamontthis is an NDA'ed CVS repo that 'git cvsimport' has a history of sometimes not liking23:29
cjwatsonlamont: and http://bzr.debian.org/loggerhead/pkg-ssh/openssh/trunk/annotate/head:/debian/README.source? documents how to drive it.23:29
cjwatsonlamont: oh, if cscvs hasn't already been involved, you might keep your sanity better by not involving it23:30
lamontit doesn't help that someone (and not me this time) has felt sufficiently of-clue to do manual surgery on the ,v files from time to time23:30
cjwatsonthat never helps23:30
lamontcvsps23:30
cjwatsonmy normal preference is to use something that spits out fast-import streams (like cvs2svn/cvs2git/whateveryoucallit), since they're hackable23:31
lamontone question that I might get an answer to (assuming it finishes): does cvs2git create consistent commit hashes?  or will two imports of the same tree not give the same git tree?  (ditto for cvs2bzr...)23:31
cjwatsonthere's no "cvs2bzr" AFAIK, it's more like cvs2git | bzr fast-import23:32
lamontcvs2svn: /usr/bin/cvs2bzr23:32
lamontbeg differ23:33
cjwatsonhuh, so there is23:33
cjwatsonwasn't last I looked. :)23:33
lamontgotta love these works in progress.23:33
lamont375MB cvs tree -> 2.5GB and counting blob file23:33
=== sdboyer_ is now known as sdboyer
lamontmeanwhile, git cvsimport: WARNING: Invalid PatchSet 7114, Tag v9_0_base:23:34
cjwatsonanyway, cvs2bzr is just slightly tweaked output versus cvs2git, it still requires use of bzr fast-import23:36
lamontand given that upstream is cvs, and I have my git tree for debian/ubuntu, and the whole tree is totally NDA, I'm inclined to leave it in git for the moment, and then play with it in bzr and make sure cvs2bzr is doing the right thing.23:36
cjwatsonand bzr fast-import doesn't guarantee consistent revision-ids23:36
lamontmaxb: cvs2bzr would be far more useful to me if it could do a delta addon to an existing previous result from cvs2bzr23:36
cjwatsonI don't know about cvs2git | git fast-import23:36
maxblamont: So say many people, but converting from CVS doesn't lend itself to that23:37
lamontwell, running 2 copies of cvs2git now, just to see what it does.23:37
cjwatsonhowever, to amend my previous comment23:37
cjwatsonbzr fast-import permits storage of "fastimport-id-map" in the .bzr/repository23:37
maxbcjwatson: Well I've worked out what the bug in bzr rebase-foreign is, but I don't know how to fix is :-/23:37
cjwatsonif you do that, then successive imports into the same repository will be idempotent23:37
lamontmaxb: so I've told upstream.  in the end, I got rsync access to the ,v files, and "CVS has worked for us so far, no reason to change" by way of an answer about joining the current VCS world23:37
cjwatsonso it *is* possible to do delta imports, that way23:37
cjwatsonin fact I do that myself with debian-policy23:38
lamontcjwatson: awesome23:38
cjwatsonrebasing will break it23:38
lamontthat's because rebase always breaks things23:39
cjwatsonhttp://paste.ubuntu.com/359284/ is the script I use to update my debian-policy bzr import23:39
cjwatsonshould switch to bzr-git one of these days23:39
maxbI don't think fastimport storing a map file will work to allow delta imports from cvs2bzr23:39
maxbPerturbation in the cvs repository could cause cvs2bzr to resolve changesets differently23:39
cjwatsondepends on level of branch complexity23:40
cjwatsonif there's weirdness regarding default branches, then possibly23:40
lamont"This is a necessary workaround for the fact that CVS tags are fundamentally different than git tags.)" <-- no, it's because CVS tags are fundamentally b0rked23:40
cjwatsonyou could also manually chop off the dump file before a certain timestamp, and hack it to start from a given revision23:41
cjwatsonfast-import lends itself to that kind of hackery if you're sufficiently desperate23:41
cjwatsonthough generally once I fast-import from CVS I throw away the original as fast as humanly possible, admittedly23:42
lamontbut for me, for whatever reason, the commit IDs turn out different every time I import. <-- sigh23:42
lamontI think it might be time to reopen the discussion with upstream...23:43
maxbHmm, I wish jelmer was around.23:46
lamontWARNING: in '....' branch '...' already has name 'foo', cannot also have name 'bar', ignoring the latter23:56
lamontI wonder if that means they assigned a branch 2 names23:57
lamontcjwatson: I23:57
lamontd pay cash money to get the original CVS thrown away in this case.... just not enough money to convince upstream, yet.23:58
lamontof course, there'd be more negotiability if the repo weren't so private23:58

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