/srv/irclogs.ubuntu.com/2008/11/02/#bzr.txt

=== mark1 is now known as markh
Peng_lifeless: I'm not sure. I only converted two repos to btrees, and I didn't keep non-btree versions around, so I can't compare. I think diffing in the larger one is much faster though.01:09
Peng_(Well, I did keep non-btree versions around, but in a backup way, not a usable way.)01:09
ub3rst4rhi, yesterday i doing a commit to my launchpad account. i accidentally used the del to remove some files that i didnt want to commit. I restored them, but they are the wrong files and i cant find the another file that I had.01:39
ub3rst4ranyone?01:45
grettkeHi folks.02:03
ub3rst4rwtf is everyone02:04
grettkeI created a new repo using the 'svn-import' command. I want to push each of my "trunk projects" from that repo I just created into my normal repo. But it is complaining that the repository format is not correct (different rich-root-pack). That is true, my main repo is not rich-root-pack, I don't need it to be. Is there a workaround here?02:04
jelmergrettke, yes, you can upgrade your normal repository to rich root pack02:05
jelmergrettke, bzr upgrade --rich-root-pack02:05
ub3rst4rhi, yesterday i doing a commit to my launchpad account. i accidentally used the del to remove some files that i didnt want to commit. I restored them, but they are the wrong files and i cant find the another file that I had.02:06
grettkejelmer: I see, so I should have created it initially, at least. Understood. Thanks jelmer.02:06
grettkejelmer: Wonderful that an upgrade path exists!02:06
jelmerub3rst4r, you mean "bzr rm" ?02:06
ub3rst4ryes02:07
jelmerub3rst4r, did you commit the removal?02:07
ub3rst4rjelmer no, i should of! now i cant find the files anywhere02:07
jelmerub3rst4r, but the files were versioned before?02:08
jelmerub3rst4r, you can get an older version of a file by running "bzr cat -r<old-rev> <filename>"02:08
ub3rst4rill try that02:08
ub3rst4rbzr: ERROR: u'HiveManager.cs' is not present in revision02:09
jelmerub3rst4r, the file was not versioned at that revision?02:10
grettkejelmer: Potentially dumb question. I created my mainline repo using 'init-repo', and then each project with just 'init'. Do I upgrade the whole repo, or the individual branches. The thing is that I know you can create the whole repo with rich-root-pack...02:10
ub3rst4rwell i added it, but then i removed it02:10
jelmergrettke, you have to upgrade the repository02:10
ub3rst4rand then they were moved to the recycle bin and i restored all but 1 file which i cant find02:11
grettkejelmer: I see. Thanks.02:11
ub3rst4rand the files that i did restore are older02:11
jelmerub3rst4r, and you specified an old-rev in which the file did exist?02:11
ub3rst4ryea02:12
ub3rst4ri dunno what to do02:13
grettkejelmer: Are you guys getting many SVN->BZR switchers?02:15
jelmergrettke, yeah, quite a few02:15
jelmerub3rst4r, sorry, it's probably better to email the list02:15
grettkejelmer: What had you used before BZR? What were you favorites?02:15
jelmergrettke, I've used cvs, svn and darcs before bzr02:16
ub3rst4rjelmer what do u mean, email the list?02:16
jelmerub3rst4r, please email the bazaar mailing list, as there don't appear to be a ot of people around at the moment02:16
grettkejelmer: What did you like *most* about SVN?02:16
jelmergrettke, ease of use I guess02:21
grettkejelmer: What is the standard procedure for "moving" a project. I want to move it from /repo/proj to /proj, move is not the right command. Should I create the new proj, just branch and push to the new project, then delete the old one?02:25
jelmergrettke, not sure I understand - moving a branch in bzr should be as simple as doing a filesystem move02:27
grettkegrettke: I see. I am stuck in svn land.02:28
AfCjelmer: (well, no, not exactly; if there's a shared repo at .. or somewhere, then just moving the "branch" directory is insufficient. Using `bzr branch` will always work)02:28
grettkejelmer: Sames goes for renaming it?02:29
AfCgrettke: yes, renaming is transparent.02:29
grettkeAfC: It is a shared repository02:29
AfCgrettke: then if you are moving the branch _outside_ of that shared repository, then you'll need to use branch.02:29
AfCgrettke: if you're just moving it around within (below) that shared repository, then it'll have no impact.02:30
AfCgrettke: there are three things in Bazaar that you need to be aware of (if doing such shenanigans).02:30
AfC1) "Working Tree" (ie, a checkout of the sources)02:30
AfC2) a "Branch" (usually co-located with the Working Tree; it lives in .bzr/branch/)02:31
AfCand02:31
AfC3) a "Repository" (which can be anywhere from . on up; it lives in .bzr/repository/)02:31
AfCIf the Repository is co-located with the Branch (is co-located with the Working Tree) then you have the situation that is commonly created when you just do a standalone `bzr init .` or `bzr branch`02:32
grettkeAfC: Thanks. That notion is slowing sinking in.02:32
AfCin THAT common scenario, then yes, you can happily move the branch (carrying the  working tree and repository with it) to your hearts content.02:32
AfCbut if you've used the equally common shared repository idea,02:33
AfC[which is a good idea]02:33
grettkeAfC: My mainline repo is --no-trees. All of my working trees are elsewhere.02:33
AfCthen you have the catch that the directory containing the Working Tree and Branch does not contain the Repository (which stores the revision data) and so if you go and move that directory somewhere else02:33
AfCit'll be at a loss to find its revisions.02:33
AfCHence, for that case, use `bzr branch`.02:34
grettkeAfC: I see. The repository is different than the .bzr directory. If I had not used the --not-trees, then every branch would have its on repository?02:38
grettkeAfC, jelmer: So why choose a common shared repository over a repo in every branch?02:40
AfCNo. If you had not used no-trees then every Branch in the Repository would have a full Working Tree present as well.02:42
AfCBranches outside from under that shared Repository will [have to] have their own repositories (copies of all the  revisions making up that branch) along for the ride.02:43
grettkeAfC: More is sinking in...02:44
=== AfC is now known as AfC|out
grettkeAfC: So for my mainline repo, if I init it with --no-trees, that just means when I create branches that working copies won't also get created, and that there is a single repository shared by all branches, and when I back up that repo, I can just file-copy that directory and I will be finished. What is the benefit of a shared repo, space saving?02:45
AfC|outThere's no "mainline repo". There is a "mainline branch".02:46
AfC|outThat lives somewhere.02:46
grettkeAfC: Right... thanks.02:46
AfC|outIt's either got all it's own revisions, or they're at ../ or ../../ or ... somewhere02:46
grettkeI will have mainline branches that have a shared repo, that is it.02:46
AfC|outNo. There is a single mainline branch. Singular. Other branches (forks of it, hopefully someday to be merged back into it) living along side it can avoid duplicating all the revision data if you share it at ..02:47
grettkeAfC: I read the user guide, but clearly I'm not getting. What else should I read?02:48
AfC|out{shrug} In one project I'm involved in we have a brief getting started note, http://java-gnome.sourceforge.net/4.0/HACKING.html but I think what you need to do is stop worrying so much about setup and just get on with using it. The other stuff will become clear in due course.02:51
grettkeAfC: That is what I've been doing. I've got my svn stuff I want to move over, too.02:53
* AfC|out goes out02:53
lampliterhow do you tell if the main image (what I have on launch pad) is different from the branch I have locally?04:05
=== komputes_ is now known as komputes
Rollylampliter: bzr missing?09:19
Peng_jelmer: ping?11:06
=== mlh_zombie is now known as mlh
jelmerPeng_, hi13:23
Peng_jelmer: Hello.13:23
Peng_Err13:24
Peng_jelmer: I have an odd bzr-svn issue13:24
Peng_(I was able to work around it, but anyway..)13:24
Peng_I haev a shared repo where I have copies of Python's various branches, both imported myself using bzr-svn, and using the imports on http://code.python.org/13:25
Peng_Today, I was trying to branch http://code.python.org/python/2.6/ , but it failed with a RevisionNotPresent.13:26
Peng_I already had a copy of http://svn.python.org/projects/python/branches/release26-maint (the svn version of that branch) in the same repo. After pulling the latest changes, I was able to branch the code.python.org branch successfully.13:26
Peng_RevisionNotPresent: Revision {svn-v3-trunk1:6015fed2-1504-0410-9fe1-9d1591cc4771:python%2Fbranches%2Frelease26-maint:66865} not present in "2166@6015fed2-1504-0410-9fe1-9d1591cc4771:p13:27
Peng_ython%2Ftrunk:Lib".13:27
Peng_Erk13:27
Peng_So yeah. :D13:27
LarstiQluks: I've got a very very ugly hack to do search for qannotate on file texts. It currently just pops up a QLineEdit without a parent to prompt for the search text ;)13:27
=== fta_ is now known as fta
jelmerPeng_, One of the two was probably made with a buggy (older) version of bzr-svn13:55
Peng_jelmer: How did doing the other pull fix it?13:57
eudoxos1Hi there, I've been googling around for shallow branches and I am wondering what is the progress on that front (blueprints, wiki, blogs, all silent on that). Stacked branches are related to that, right? Is that on schedule for whatever comes after 1.9?18:04
=== griebel is now known as griebelh
=== griebelh is now known as hsound
faheem_Hi. Is bzr-gtk the recommended tool for viewing a repos dag? I've had some difficulties with it, debian lenny.20:31
faheem_!bzr-gtk20:32
ubottuSorry, I don't know anything about bzr-gtk20:32
faheem_Using olive-gtk, that is.20:33
faheem_Should I be using the versions in experimental?20:33
faheem_To be more specific, if I do olive-gtk, and click on log, I get "Please wait, loading ancestry graph.." which then hangs.20:35
faheem_This is with the Debian apt repos.20:36
faheem_I also get a traceback.20:37
jelmerfaheem_, please file a bug20:50
* awilkins prefers qbzr for viewing a repos dag20:56
awilkinsBut I still prefer gconflicts because qbzr doesn't have one ;-)20:57
=== thunderstruck is now known as gnomefreak
jelmerawilkins, qbzr as in qlog ?21:12
=== TheMuso_ is now known as TheMuso
awilkinsjelmer: Yes21:16
faheem_jelmer: File a bug where, with Debian or upstream?21:50
jelmerfaheem_, debian21:51
faheem_awilkins: Is qbzr in Debian?21:51
faheem_jelmer: Ok, will do.21:52
jelmerfaheem_, no, qbzr isn't packaged for debian21:54
=== gitsky is now known as pasky
faheem_What is the bzr equivalent of hg paths?22:17
faheem_jelmer: Severity normal Ok?22:18
NeilI have baz Bazaar version 1.4.2 and Bazaar (bzr) 1.8.  How do I import my change history from one to the other?  The BAzaar webpage points to bzrtools, but bzrtools 1.8 seems to have no such command.22:19
jelmerNeil, it's split out into a separate plugins these days22:23
jelmerfaheem_: Yeah, sounds fine22:23
jelmerfaheem_, what does "hg paths" do?22:23
Neiljelmer: Do you know where I can get that then? Thank you22:23
faheem_jelmer: the repositories which hg knows about - specifically, the repos it was cloned from.22:24
faheem_bzr info looks like it gives me what I want.22:24
jelmerfaheem_, I think "bzr info" comes closest22:24
jelmerNeil, http://code.aaronbentley.com/bzr/bzrrepo/bazimport/ seems like it contains a version of that plugin22:24
Neilthank you22:24
jelmerbut I'm not sure whether or not that is the latest22:24
Neilwell I'll try it, heh22:24
faheem_jelmer: Done. Are you a developer?22:27
jelmerfaheem_, yep22:27
faheem_Shall I post the bug number here when I get it?22:28
jelmerfaheem_: no - thanks, but I should already be automatically notified by email22:29
faheem_jelmer: Ok. Take care. Thanks.22:29
Neildang.  Unable to load plugin 'bazimport' from '/usr/local/bzr-1.8/lib/python2.5/site-packages/bzrlib/plugins'22:30
LarstiQit used to be in bzrtools22:31
NeilI wish it still was in there since bzrtools is working :-)22:32
LarstiQNeil: could you pastebin the traceback (from ~/.bzr.log)22:33
Neilhow do I get a traceback for it?22:33
LarstiQNeil: it should be in ~/.bzr.log22:34
Neilah thank you, looking22:34
Neilhttp://www.hakubi.us/temp/bzr-log22:35
LarstiQNeil: or, what also would have worked, is -Derror22:36
LarstiQNeil: ah, it expects a recent bzr22:36
LarstiQNeil: introduced in revision 658 in bazimport22:37
Neilhmm22:37
LarstiQNeil: so, you could use a slightly older version of bazimport, or a newer version of bzr.22:37
Neilthank you very much22:37
LarstiQNeil: try bzr revert -r 657 for the former22:37
Neilguess I get to start learning bzr manipulations right away :-)22:37
LarstiQ(in bazimport)22:37
Neilhooray, it shows up without error in bzr help commands22:39
Neilnow the real test though :-)22:39
LarstiQright, that bzr can import the plugin doesn't guarantee the plugin can do the conversion between two version control systems :)22:45
LarstiQbut if it can't, that is certainly a bug, and not api drift22:45
NeilI've been using arch actually for 6 years, but I'm co founding a new company and need to share the tree with someone on Windows.  So I have to pull out some of my work, and Bazaar looked like the best best.22:57
NeilI'll probably end up moving over my personal stuff as well22:57
LarstiQNeil: cool23:20
* LarstiQ calls it a night23:20
* Odd_Bloke calls it a fish.23:21

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