/srv/irclogs.ubuntu.com/2008/10/28/#bzr.txt

pooliei'm looking at marius's nick-switching patch00:10
=== pasky is now known as gitsky
=== mw is now known as mw|out
grettkeDo you guys have a preferred way of migrating svn repos to bzr?01:15
pooliegrettke, either svn2bzr or bzr-svn (which can also round trip back to svn)01:25
pooliei'm not sure, svn2bzr may be better for a one-off conversion?01:25
pooliebut i'd probably try bzr-svn first01:25
grettkepoolie: I just tried bzr-svn and it blew up.01:28
grettkepoolie: I am interested in a one-time conversion.01:28
poolie http://bazaar-vcs.org/svn2bzr01:28
grettkepoolie: I've got so much cruft in my old svn repo, I wonder if it is worth filtering...01:29
synicgot kind of a dumb question.  I've got a project that we've been using bzr on for some time now.  We started a new version of the project and instead of creating a branch, we created a new repo.  I'd kind of like to merge the new repo with the old one so that we have a complete version history.  Is this possible?03:14
Verteroksynic: take a look to: 'bzr help join'03:22
synick03:25
synicVerterok: hrmm, I'm a bit confused.  It keeps saying that both trees have the same root id03:40
Verteroksynic: mmm, maybe using merge?03:47
poolieah, so the new branch should have come from the old one, but did not?03:48
poolietry bzr-rebase03:48
poolie(reading the btree prefetch)03:48
synicok03:50
synicpoolie: got an example of using rebase?03:57
synicbzr: ERROR: Branches have no common ancestor, and no merge base revision was specified.03:57
synicit's the same error I got when attempting to merge03:57
poolieactually, is there a reason not to just merge the trees?03:58
synicwell, no, but I get an error when trying to do that.03:59
lifelesssynic: so the error about same root04:03
lifelesssynic: is because join is intended for rich roots04:03
lifelesssynic: j-a-meinel wrote a plugin04:03
lifelessmerge-into04:03
lifelesswhich is a less featureful join and should work for you04:04
synicit'll preserve the histories of both branches?04:04
lifelesssynic: yes04:04
=== jamesh_ is now known as jamesh
vilahi all06:59
pooliehello vila!07:11
Rollyjust curious, has there been any progress on supporting nested trees? Last activity I can see was in the middle of 200708:13
damohickeyHello!10:31
damohickeyFirst time using IRC. Is anyone else seeing this?10:34
mwhudsonyes10:35
damohickeyHi, Is this an appropriate place to discuss conversion of an Open Source project from SVN to Bazaar or is it about Bazaar development only?10:38
mwhudsonnope, conversions are definitely on topic10:39
damohickeyWell this is a hard question to answer but we need to prepare for this eventuality.10:41
damohickeyI am the leader of an Open Source eCommerce project called Freeway. We use SVN in a kind of interesting way that is not really productive for our conversion from company project to community distributed.10:42
damohickeyWe have a public SVN but that is fed by scripts from a private internal SVN.10:43
damohickeyI'm just wondering what the impact would be when we move to Launchpad as it seems to logical thing to do now.10:43
damohickeyBy impact, I mean would we have to prepare for lotts of developers wanting to contribute all of a sudden; our project is pretty interesting but not well known now.10:44
damohickeyWe are happy enough for this to happen but want to get some idea of what happens when in the practical world when tightly controlled SVN projects open themselves to distributed version control.10:46
damohickeyI understand there are multiple other factors involved. Perhaps my question is are there lots of people that wait for new projects using Bazaar in Launchpad, a pent up demand of people as annoyed with SVN as us?10:47
damohickeyI'm sure this is a trivial concern. It's a different world thinking about distributed version control though. Very interesting, kind of like a new way of transacting with the world.10:50
lukspeople normally don't wait for random projects to open their development model10:50
lukseven less so bzr users, which are a minority10:50
=== thekorn is now known as hoffenheim
luksif people contributed to your project before they will most likely continue even if you switch to bzr, people who are not interested will not contribute no matter what VCS will you use10:52
=== hoffenheim is now known as thekorn
damohickeyA lot of our users (not developers) find it hard to use Torotoise SVN to get new stuff. Is there a particularly good promotional tool we can use to sell people on learning Bazaar?10:56
lukshonestly, if they find tortoisesvn hard to use, they will probably find bzr impossible to use10:57
damohickeyIn some ways, this just means we have to manage our releases really carefully.11:03
damohickeyI'm happy enough to move still.11:03
damohickeyBye for now. Thanks so much to all you people here who have contributed to the development of Bazaar. It is a really exciting process we are about to embark on. Thanks!11:05
mwhudsondamohickey: have fun11:06
dissonansbzr-svn 0.4.13 is buggy for me on Python 2.6, Windows XP11:42
dissonansshould I use some other version?11:42
beunodissonans, I don't think that iether bzr or bzr-svn have been fully tested in 2.611:45
mwhudsonbzr at least mostly works11:46
dissonansI have to use bzr 1.7 due to bzr-svn11:46
dissonansI think I only get some deprecation messages in bzr11:47
dissonansit's not practical for me to use Python 2.5 on Windows since I don't have the compatible compiler (VS .NET) installed11:48
dissonansI tried mingw, but that led to an obscure compilation error in bzr-svn11:48
evarlastdissonans: vs.net express is free and may work to compile python 2.512:28
dissonansevarlast: sure, but I don't feel like installing it12:31
dissonansI already have VS 200812:31
evarlastoh, it requires 2003 or 2005, but doesn't build with 2008?  I see. I misunderstood.12:32
dissonanswell, Python 2.5 is built with VS 200512:34
dissonansso I can't use VS 2008 with that version of Python12:34
dissonansbasically I just want to be able to use Python 2.612:35
tvainikadissonans: why don't you install python2.6 for your own work, and python 2.5 for bzr(-svn)? i think you can install both in parallel12:44
dissonanstvainika: that's the problem I explained, I'm not able to compile bzr-svn for 2.5, unless I install VS 200512:45
tvainikadissonans: how about using installer package's bzr-svn?12:45
dissonansit's not usable with bzr 1.7.1 at least12:45
dissonansI tried12:46
=== mark1 is now known as markh
synicis the lp: shortcut part of a configuration file or a plugin or something?14:47
syniccan I add new ones?14:47
dobeysynic: i think it's from the launchpad plug-in14:54
synicdobey: ah, thanks14:55
lukssynic: you might find bzr-bookmarks useful14:55
synicsweet :)14:55
lukssynic: it will not allow you to add prefixes like foo:bar but instead bm:foo/bar14:56
luksnot as nice, but does the job14:56
synicgood enough :)14:56
jamVerterok: ping14:56
Verterokjam: pong14:56
Verterokjam: reading the mail ATM14:58
jamVerterok: I just uploaded the update-site stuff, did you get a chance to look at it?14:58
Verterokjam: thanks, the version part is just to identify the archive, would be ok if I create a new archive to upload, I just remembered I need to change a xml inside the archive to link to the new url :/14:59
jamVerterok: no, now that we have an update site, you are forbidden from ever updating it :)15:01
jamsure, whatever you need15:01
jamto get it to work15:01
Verterokhehe15:01
Verterokok, I'll let you know when I finish updating the zip. Thanks!15:02
jamVerterok: if possible, can you create a tarball? It turns out that machine doesn't have zip tools15:03
Verterokjam: sure, np15:03
persiaGood day.  I have a branch of a project.  I recently did a `bzr pull`, and received the message "All changes applied successfully".  I also appear to have a file with the ".OTHER" extension that would have come from a conflict at one point.15:41
persiaIs there a way to determine when the conflict occured, and whether it still conflicts, or how?15:42
luksrun `bzr status` to see if it's still a conflict15:43
persiaThat reports a conflict.15:44
persiaHow about determining when?15:44
persiaAlso, should I be able to bzr pull with a success message with a pending conflict?15:44
luksI'm not sure how is behaves if there is a conflict and you pull to the branch15:45
dobeypersia: i would guess that "bzr pull" gives you a success message when there are no new conflicts15:45
persiaMostly I'm confused about how I got into this state, and while I know I don't have any changes in the branch that are important, the apparent success message from bzr pull surprises me in the face of a conflict.15:45
luksif the pull causes a conflict it would probably say so15:45
dobeylike, all the new merges were successful15:45
persiadobey, That makes sense, although it's a little confusing if one has a branch that one uses to track development done by others which somehow gets out of sync.15:47
dobeysure15:47
persiaFor my case, it's just a matter of removing everything and getting back in sync, but I wonder if this is intentional, or if bzr ought provide some warning that things are still not in sync.15:47
dobeyyou probably overlooked a conflict15:48
dobeyand then did another pull15:48
luksthe only way pull can conflict is if you have uncommitted changes15:48
persiadobey, Right.  Based on the output of bzr status, that appears to be what happened.15:48
dobeywouldn't just doing a revert on the conflict fix your problem?15:48
persiadobey, perhaps.  I'm not concerned much with fixing my branch.  It becomes useless for me in two days, and is not expected to change in the meantime :)15:49
dobeyi mean, instead of "removing everything and getting back in sync"15:49
persiaAnd luks explained how to determine that I was indeed in a broken state, so as a user, I'm informed.15:49
dobeya simple revert should put you "back in sync"15:49
dobeyright15:50
persiaSo, is this a usability issue?  Should bzr say something when there is a successful pull into an unclean environment, or are users expected to know when the environment is unclean anyway?15:50
Peng_Right, "revert" will get you back in sync, though it'll probably leave some garbage files around.15:51
dobeywell, revert + resolved then :)15:51
Peng_If you revert, there's no need for resolved.15:51
dobeywell, resolved gets rid of the .STUFF files15:51
luksexcept that after revert is has no conflicts to resolve15:52
luksso the .STUFF files are just random unknown files15:53
Peng_Oh, revert leaves behind the .STUFF files?15:53
persiaWell, they are listed as random unknown files in bzr status now.15:53
dobeywell, you can resolved, and then revert15:53
Peng_Well, I guess it makes sense.15:53
dobeyif you just revert, you'll have to rm them by hand i guess15:54
dobeywould probably be good for bzr revert to do the right thing if the file is a conflict, though15:54
persiaSo I should file a bug asking bzr to do the right thing?15:54
persiaAnd what is "the right thing"?15:54
persiaI'd be happy with just telling the user that the pull succeeded, but there was still a conflict, but I'm not sure if that's "right".15:55
dobeywell, if the file is in conflict when you do a revert, it should revert and get rid of the extra data files created by the conflict merge15:55
dobeyie the .STUFF15:56
dobeyso there are 2 issues, bzr pull doesn't give you status of existing conflicts not created by the new merge15:56
dobeyand bzr revert conflictedfile, leaves the conflictedfile.STUFF files around15:57
luksI think it should refuse to pull into a tree with conflicts15:58
dobeythat's one way to resolve the issue, sure15:58
dobeyit could say "N conflicts created by this merge, M already existing conflicts" also15:59
dobeyi think either solution is fine15:59
Peng_dobey: By default, revert doesn't destroy irreplaceable data. I bet that's why it ignores the .STUFF.16:00
Peng_If it just leaves them all behind, someone should make it smarter, but I bet that's the reasoning and it's just that nobody has gone to the effort.16:00
persiaPeng, Does bzr understand .STUFF well enough to be able to remove when one reverts to before the conflict?16:00
Peng_persia: I dunno.16:01
persiaBecause revert-to-trunk with pending conflicts may be fairly unpredictable.  Works for my use case, but I suspect my situation is rare : most people would be intentionally changing files.16:01
dobeythe reasoning is probably "nobody thought to make it smart for conflicts" yeah16:02
persiaSo there are two bugs?  One about notification on pull into a conflicting tree, and the other about dealing with .STUFF on revert?16:02
dobeyi think so16:03
* Peng_ mumbles16:03
persiaI have the knowledge to file the first one, but I have insufficient information for the second one.  Could someone else file it?16:03
Peng_I just tested it. 'bzr revert' does nuke the .STUFF.16:04
Peng_It even nukes the .STUFF if they've been modified, which is probably a bad thing.16:05
dobeywhy would anyone modify the .STUFF?16:07
persiadobey, partial work to resolve the conflict, interrupted by a meeting, and forgotten overnight, for the user running bzr pull drinking their morning coffee ?16:08
dobeyyou don't just edit the actual file?16:09
Peng_What persia said.16:09
persiadobey, Dunno.  Personally, I tend to resolve conflicts in a fairly complex web of temp files and patches, but that's probably not the expected behaviour.16:10
Peng_Occasionally, if there are severe conflicts, I might edit one side's changes into a .STUFF file instead of dealing with the conflict markers.16:10
dobeybut if you forgot about the conflict, would you do "bzr revert conflictedfile"?16:11
dobeyor would you do the bzr pull as you said?16:11
persiaConflict markers are often annoying.  Even for a trivial change of a certain class, I'll use "diff foo.BASE foo.THIS > foo; cat foo.other >> foo; vi foo".16:11
dobeyit seems unlikely that someone would bzr revert willy nilly in your use case. and if bzr pull failed/warned about the conflict, they would probably investigate or remember they were working on it, no?16:12
Peng_dobey: Realistically, this all probably wouldn't happen to me.16:12
Peng_dobey: But that doesn't mean revert's behavior shouldn't be improved, just that it's low priority.16:12
* Peng_ goes back to being away.16:12
dobeysure16:12
Peng_(lunch!)16:12
* dobey needs to get lunch as well16:13
persianotification should resolve 80% of the potential confusion.  The rest is just enhancement16:13
Verterokjam: I just mailed the tarball, thanks!16:15
=== Verterok is now known as Verterok|lunch
persiaThanks for listening.  Please change the contents of 290350 if I have inaccurately described the desired change.16:21
svenhi! i'm using the current dev branch of bzr and the current dev branch of bzr-gtk. when running 'bzr gci', i can't enter per-file comments. the text box to enter them does not show up when i click on a file name16:52
svenis this a known issue?16:52
Peng_sven: Uh, someone (you?) mentioned this yesterday.16:55
Peng_Or the day before. I dunno.16:55
Peng_sven: I don't know what came of it.16:55
svenPeng_, i've mentioned it, but didn't see any reply16:55
Peng_Ah.16:55
Peng_You might get more attention if you filed a bug. Shrug.16:55
svenPeng_, ok, just thought i'd ask more informally before doing that.16:57
jelmersven, afaik you have to enable them explicitly16:57
Peng_sven: You're right, but if that isn't working...16:57
Peng_Oh, ok. :)16:57
svenjelmer, how do it enable per-file comments explicitly?16:58
jelmersven: did you set per_file_commits to true in the config?16:58
svenjelmer, hmm, no it's off. that should explain it. i have no idea why it always worked before16:59
svenjelmer, it works now. thanks!16:59
Peng_That was a quick fix. :)17:02
=== gour` is now known as gour_
=== gour_ is now known as gour
=== BasicPRO is now known as BasicOSX
=== abentley1 is now known as abentley
=== tetha_ is now known as tetha
=== Verterok|lunch is now known as Verterok
=== Verterok is now known as Verterok|out
ronnyhi20:19
ronnyi think i missused bzr svn-import - used it on some svn, now i got a repo with no branches - is there a way to get a branch, or should i restart different20:21
Peng_ronny: ...What do you mean "no branches"? There's nothing but a .bzr directory? If you mean that the branches don't have working trees, use "bzr co" inside a branch to create it.20:26
ronnyPeng_: there is no branch20:27
lifelessronny: can you run 'bzr branches'20:28
ronnyno20:29
Peng_That's part of bzrtools.20:29
ronnyhmm, dammit - i just noticed im also still on bzr 1.6 from intrepid20:29
ronnybzr branches has no output20:30
ronnyls .bzr/ -> "branch-format  branch-lock  README  repository  svn-import-revision"20:30
ronnyhmm, ok, i retry with bzr clone now20:34
luksI wish somebody would remove the clone and get aliases from bzr branch20:35
jelmerronny, if you want to import a single branch, use "bzr branch" rather than "bzr svn-import"21:08
seb_kuzminskyhi folks, can launchpad show me a merge history like this:21:10
seb_kuzminskyhttp://cvs.linuxcnc.org/cvs/emc2/src/emc/kinematics/tp.c?graph=121:10
ronnyjelmer: ok21:10
seb_kuzminskyi want to see the history of a file: on which branches were commits to this file made?21:19
seb_kuzminskyis that in bzr or launchpad somewhere?21:19
dobeybzr-gtk has some sort of merge graph display thing, that might do what you want21:20
seb_kuzminsky"bzr graph-ancestry" is pretty close21:21
seb_kuzminskyis there a view like that on lp?21:21
asabilseb_kuzminsky: try "bzr vis"21:21
seb_kuzminskygraph-ancestry seems to have an html output mode...21:21
dobeyi don't think lp has graphing stuff like that21:21
seb_kuzminskyasabil ftw!21:21
seb_kuzminskythanks :-)21:22
seb_kuzminskynow if only lp had something like that so I could easily show the CVS folks i'm trying to convert to bzr ;-)21:22
asabilseb_kuzminsky: you can always give an url to bzr vis21:23
asabilbzr vis lp:~user/project/branch21:23
seb_kuzminskyright...  they dont have bzr installed, i'll take a screenshot of bzr vis on my machine and show them that21:25
seb_kuzminskythey're still in this "central server does everything" mindframe...21:25
dobeywell, lp is just a central server21:26
dobeybut it's a tools thing. they are all just tools. some are better than other for somet things :)21:27
dobeyi still prefer svn for various things21:27
seb_kuzminskythey're comparing lp to cvsweb, which provides a web interface pretty similar to "bzr vis"21:27
seb_kuzminskyhttp://cvs.linuxcnc.org/cvs/emc2/src/emc/kinematics/tp.c?graph=121:27
seb_kuzminskywith mouse-overs and links and stuff, it's pretty good21:28
dobeyeh21:28
seb_kuzminsky<shrug>21:29
lifelessso I think someone should file a bug on loggerhead for a per-file view21:30
seb_kuzminskysure, i'll be happy to do that21:30
seb_kuzminskyhm, "bzr vis" is confusing me a bit21:35
seb_kuzminskyi thought the color of the dot represented the branch, but that doesnt seem to be the case21:35
=== BasicTheProgram is now known as Basic
seb_kuzminskylifeless: ok i filed the bug: https://bugs.launchpad.net/loggerhead/+bug/29047521:43
ubottuUbuntu bug 290475 in loggerhead "please add a per-file view of ancestry" [Undecided,New]21:44
seb_kuzminskyheh21:44
lifelessthanks21:44
lifelessmneptok: btw21:44
lifelessmneptok: I haven't heard boo about the search stuff21:44
=== Mathilda is now known as uws
pooliehullo bzristas21:51
lifelessI'll have a long black21:51
=== BasicPRO is now known as BasicOSX
RollyAnyone know if nested branch support is still being worked on?22:28
HomingHamsterhello everyone22:31
HomingHamsteri'm running mac 10.5, i've installed bzr from the mac install package. and i've also installed the eclipse plugin by adding it a s an update site in eclipse. the only thing is, i can't fnid where bazaar has been installed. whereis bzr returns nothing.22:33
HomingHamsterwow, pretty quiet...22:34
HomingHamsteram i missing some major thing?22:35
mlhBasicOSX: ^^22:42
mlhI don't know whether there many OS/x users here22:42
BasicOSXI run bzr from bzr22:42
BasicOSXI did not install it from package I got it via bzr it's self22:43
BasicOSXbut it should be in /usr/local/bin/22:43
mneptoklifeless: weird. the Codethink guys really wanted to see you in Boston.22:43
BasicOSXWhich is a symlink to /Library/Frameworks/Python.framework/Versions/22:44
lifelessmneptok: huh22:45
=== lifeless_ is now known as lifeless
lifelessjust had a power brownout :(22:58
lifelessvila: hi22:58
=== ubott2 is now known as ubottu

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