/srv/irclogs.ubuntu.com/2008/12/12/#bzr.txt

spivWell, technically, a .bzr/repository folder without an upload folder is corrupt.00:02
spivIt happens to be a very easy-to-repair corruption, though.00:02
emmajanespiv, yes. :)00:02
emmajanespiv, it's "corrupt" not "OMG THE SKY IS FALLING" ...00:02
kenichihello, i'm a bzr n00b, and it's printing this error with a "get" : bzr: ERROR: Lock not held: LockableFiles...00:04
kenichihmm.... it also happens with "info" on the same URL... is it a server issue?00:04
jmlI need to make a knit branch with lots of ugly, url-escape-needing paths.00:11
jmlanyone have one lying around?00:12
mwhudsonbzr-svn is good at that :)00:12
mwhudsonjml: https://code.edge.launchpad.net/~mwhudson/pydoctor/axiom-attr-support might fit00:12
mwhudsonyeah, looks like it00:13
jmlmwhudson: sweet. thanks.00:13
mwhudsone.g. http://bazaar.launchpad.net/~mwhudson/pydoctor/axiom-attr-support/.bzr/repository/knits/06/00:14
lifelessjml: interesting; its a key goal of switch to switch with edits; you just want a '--with-edits' option, or ???00:22
jmllifeless: basically, yes.00:22
jmllifeless: the thing that's happened a lot to me is that I've switched to trunk to pull, and got conflicts because I have uncommitted changes.00:23
lifelessjml: would it help if switch told you about the remaining local edits?00:23
lifelesse.g. switch == switch + status --short?00:23
jmllifeless: before or after it switched?00:23
lifelesspost00:24
lifelesspre is meaningless as the switch may eliminate outstanding changes00:24
jmlhmmm. well, it would help if there was a clear way to undo it, particularly in the case of conflicts.00:24
lifelessjml: I think this needs more discussion; please mail the list and I'll try to reply tonight once backa tthe hotel00:25
jmllifeless: will do.00:25
mwhudsoni've always found it slightly weird that pull doesn't complain about local changes00:28
mwhudsonif you're pulling, you're maintaining a local mirror00:28
mwhudsonwth are you doing editing it?00:29
mwhudsonother workflows may vary i guess00:29
Peng_kenichi: :P00:30
Peng_fwiw, kenichi is running bzr 1.10, and i experience the same problem in bzr.dev.00:33
kenichihttp://pastebin.com/d37ce3b4f   <--- all two lines of my issue :)00:33
Peng_Traceback: http://paste.pocoo.org/show/VFV2fMUc25uhKKEBIuRf/ (But it doesn't look very interesting; the exception is rather self-explanatory.)00:36
mwhudsonis bzr-svn messing things up again?00:37
Peng_mwhudson: For this? --no-plugins doesn't help.00:38
mwhudsonah well00:39
Peng_Heh.00:40
abentley1mwhudson: It's more for a workflow where you "bzr pull; bzr commit; bzr push".00:42
=== abentley1 is now known as abentley
mwhudsonyeah, i guess so00:43
jmluse pyflakes guys01:02
jmlhttps://bugs.edge.launchpad.net/bzr/+bug/30732701:03
ubottuError: <Bugtracker.plugin.Launchpad instance at 0x874150c> bug 307327 not found01:03
jmlI smell replication lag :)01:03
spivjml: by "guys", you mean "abentley" ;)01:04
abentleyjml: ?01:07
spivabentley: a -Dhpss mutter that moved in your patch from remote.py to graph.py is failing due to a missing import of mutter in graph.py01:08
abentleyspiv:01:08
abentleySorry.01:08
spivabentley: not a big deal.  I'm considering just deleting the offending mutter.01:09
spivI don't think we've ever really used it, so it's just yet another thing filling log files.  And -Dhpss isn't exactly the right condition for it now it's in a more general-purpose class.01:11
spivHmm, although, you did make a _debug variable for it.01:12
spivSo if we want to keep the debugging there ought to be tests for the debug case.01:12
abentleyspiv: Yeah, I agreed that hpss was the wrong flag for a general-purpose thing.01:12
jmlI'm going to make a plugin that does: bzr down bottom:; bzr pull; bzr up-thread --auto; bzr switch <original-thread>01:13
spivabentley: do you have any interest in keeping that debugging?  I'm inclined to just delete it.01:13
abentleyspiv: No, I don't.01:13
abentleyjml: What about "shelve --all" first?01:13
spivOk, let's just remove it as cruft.  It's not hard to reinstate if someone actually wants it.01:13
jmlabentley: and unshelve at the end? not a bad idea.01:14
abentleyjml: yeah01:14
spivjml, abentley: patch for 307327 sent01:21
abentleyspiv: I see you also deleted an import.  Was that deliberate?01:24
* jml bundle buggers.01:25
spivabentley: yes.  That import statement was unused.01:25
spivI meant to mention that in the email...01:25
spivabentley: that import statement was all that was standing between me and clean "pyflakes bzrlib/graph.py" output :)01:26
mwhudsoni cleaned up all the flakes in bzrlib/[ab]*.py at one point i think...01:27
abentleyspiv: I'm not sure why that was there in the first place.  It may have been backwards compatibility.01:27
spivabentley: well, in the absence of a comment...01:27
* spiv looks at how long it's been there01:28
* spiv also wishes Python had a mechanism for deprecating module attributes01:28
spivabentley: that line was added on "Fri 2007-06-08 17:48:42 -0400", in a commit by you saying "Rename graph to deprecated_graph"01:29
spivabentley: I guess it's been deprecated long enough by now?01:29
abentleyspiv: lemme check bzrtools01:30
spivabentley: hah. :)01:30
abentleyspiv: bzrtools is still importing that stuff, but I can change it to use deprecated_graph.01:31
spivabentley: thanks01:40
spivabentley: I guess I should add a note to NEWS just in case someone else is still using them.01:41
lifelessspiv: please do01:41
lifelessyou can deprecate a module BTW01:41
lifeless1) make it demand loaded within bzrlib, 2) during import emit a warning01:41
jmllifeless: I've reviewed tags. I'll get to the others later.01:45
spivlifeless: really, part 1) isn't even necessary.01:45
lifelessspiv: well, it helps :P01:45
spiv:)01:45
RollySomeone made a mistake and committed a sensitive file in the very first revision of a branch. Can I use rebase to fix this? I think I can, but I don't understand the documentation01:45
lifelessjelmer: ^ we really need to make this a nobrainer01:46
lifelessRolly: its something like 'bzr init; bzr merge -1 ../source; bzr revert --forget-merges; bzr rm SENSITIVE; bzr commit -m 'first post'; bzr rebase -r 2.. ../source'01:47
Rollylifeless: thanks! I'll give it a shot01:47
mwhudsonthat's merge -r 1 ../source, i think01:47
Rollyyeah01:48
lifelessyou'll need to use a new repository too, as the history data will stay in the repository and that would be annoying for you :)01:48
RollyAh that's OK, it's not shared :)01:48
* spiv -> food01:52
Rollywhoops, there's also a sensitive change in revno 301:53
RollyI think I can figure it out01:54
jmlbzr expunge-swearing01:54
Rollywhoops. "bzr merge -r 2 ../source" => bzr: ERROR: A nested progress bar was not 'finished' correctly.01:59
lifelessRolly: -r 1..202:00
lifelessalso file a bug02:00
lifelessbbiab, bus time02:00
Rollythanks lifeless02:00
Rollystill get the error02:01
Rollyfiled bug #30734002:17
ubottuLaunchpad bug 307340 in bzr "bzr merge: A nested progress bar was not 'finished' correctly" [Undecided,New] https://launchpad.net/bugs/30734002:17
meoblast001hi03:02
lifelessRolly: oh, try -r 1..2 --force03:02
meoblast001i want someone to pull from my project on launchpad but he's not a launchpad member03:03
meoblast001what should he do?03:03
lifelessRolly: though really, to get rev2 you want to be using rebase at that point03:03
meoblast001bzr pull bzr+ssh://bazaar.launchpad.net/~mysticgalaxies/opencollab/devel ?03:03
lifelessmeoblast001: go to the project page, then the branch and there is an http url03:03
lifelessmeoblast001: bzr branch http://bazaar.launchpad.net/~mysticgalaxies/opencollab/devel03:04
meoblast001ok03:04
meoblast001thanx03:04
Rollylifeless: --force still produces the same error03:16
lifelessRolly: ok, you're going to have to edit the code and disable the error about progress bar not closed to see the real error03:21
lifelessRolly: thats in bzrlib.progress.py03:21
Rollycan do03:23
Rollybzrlib/progress.py?03:25
Peng_Rolly: Yeah.03:27
igchi all03:27
RollyPeng: you'll have to guide me through it, I'm afraid. I don't know very much python.03:27
Peng_Rolly: Eh. I just walked in on this conversation.03:27
Peng_igc: Hello03:27
Rollyoh sorry, I was addressing lifeless03:28
lifelessRolly: have a look for the error in the file03:29
lifelessRolly: line 15003:30
lifelesschange03:30
lifelessraise errors.Missing...03:30
lifelessto03:30
Rollyah03:30
lifelessreturn # raise errors.Missing03:30
Rollylifeless: http://pastie.org/33734803:34
lifelessRolly: thats a bug; may be hard to reproduce. abentley ^ can you suggest anything?03:37
lifelessRolly: may need to fill abentley in on how you got that03:37
lifelessRolly: also, have you already done the init;merge;revert--forget;rm;commit dance to get the first rev across?03:37
Rollyyes i did03:38
lifelessRolly: try bzr diff -r 1..2 ../source | bzr patch :)03:38
RollyThat will work, but I can wait for abentley to give his input03:40
abentleyRolly: I wasn't aware of any bugs in that area.  Is this a publically-available branch?03:48
=== Quadduc1 is now known as Quadduc
RollyI'm afraid not03:48
RollyBoth target and source branches are 1.9-rich-root03:48
abentleyRolly: So you're running it on an empty branch?03:50
Rollyabentley: I did a few things first:03:52
Rollybzr init ; bzr merge -r 1 /source ; bzr revert --forget-merges ; cp config.php config.php.template ; bzr rm config.php ; bzr add config.php.template ; bzr ci -m "Initial import"03:52
Rollyby the way, that last commit produced messages like "renamed TODO => TODO", "renamed classes => classes", "renamed models => models", etc03:54
Rollyjust thought that was a little wierd03:54
Rollyand at the end of the messages it said:03:55
abentleyRolly: So, you should never merge into an empty branch unless you're deliberately trying to get the effect of pull.03:55
Rollydeleted03:55
Rollydeleted config.php03:55
RollyCommitted revision 1.03:55
Rollynotice the empty "deleted"03:55
RollyI see03:55
RollyI try again, this time using pull03:56
Rolly*I'll03:56
abentleyWell, in your case, maybe that works.  But the results are generally confusing.03:57
abentleyRolly: I *think* what you did is equivalent to "bzr pull -r -1; bzr uncommit"03:59
abentleyRolly: Why "bzr rm config.php"?04:00
RollyI don't want config.php versioned at all (I wanted a sanitized config.php.template instead)04:02
RollyI think pull was the wrong choice04:02
abentleyRolly: The empty deleted might refer to the root directory.04:04
RollyIt did work, though. No errors when I tried merge -r 1..2 ../source04:04
Rollybut config.php is right there, in revno 104:05
Rollyoh, you suggested "bzr pull -r -1; bzr uncommit". I'll try that04:06
Rollydoesn't uncommit still leave the old tip in the repo, though?04:07
spivYes.04:07
RollyAh, that won't work for me, then.04:08
abentleyRolly: So does merge.04:08
RollyI think that's why lifeless initially suggested 'bzr init; bzr merge -r 1 ../source; bzr revert --forget-merges; etc...'04:11
abentleyRolly: That will still leave the old tip in the repo.04:11
spivThere currently isn't anything that removes revisions from a repo.  You can gc the repo manually by making a new repo and copying across only the tips you want to keep.04:12
RollyIs there no way to rebase this branch so that the sensitive file in revno 1 of ../source is completely gone?04:12
spivRolly: removing the sensitive data from the history of the branch is different to also removing it from the repo.04:13
Rollyspiv: what about the remove-revisions plugin?04:13
spivRolly: Rebasing will change the branch history, but you still need to take extra steps (i.e. making a new repo) to remove the revisions from the repo.04:14
abentleyRolly: If you create a new copy of the branch with "bzr branch", it won't copy the tip.04:14
spivRolly: I'm not familiar with it, sorry.04:14
RollyOK. Boy, this is extremely confusing to me ;D04:15
Rollyif I branch -r 1 of ../source, the offending file I wish to remove is right there in my repo, no?04:16
Rolly*in my new repo04:16
abentleyRolly: Yes.  I'm talking about if you branch "."04:18
RollyWhat if I simply export or copy revno 1 of ../source into my new empty repository, delete the file, and commit?04:20
RollyCan I then continue to merge the rest of the revisions in ../source?04:20
abentleyRolly: You need to preserve the file-ids, or else merge won't work.  So plain copy or export is not going to do what you want.04:21
RollyAnd will that keep the deleted file out of the repo?04:21
RollyI see04:21
Rolly'bzr remove-revision' will apparently 'Remove revisions from repository'. Do you think I could use that command to accomplish what I want?04:22
abentleyRolly: I don't know that command.04:22
abentleyWhat plugin does it come from?04:23
spivIf it does do that, then that will accomplish what you want.04:23
Rollyhttp://people.samba.org/bzr/jelmer/bzr-remove-revisions/trunk04:23
RollyBut how would it fit in to this whole process?04:23
abentleyRolly: Presumably, you could run it after you had generated your revised version of the branch.04:24
Rollybzr init ; bzr pull -r 1 ../source ; bzr remove-revision -r 1 ; bzr add . ; bzr ci04:24
Rollysomething like that? ^04:24
spivRolly: that plugin looks like it needs revids, rather than revnos.04:25
spiv(which makes sense)04:25
abentleyRolly: No, you can't commit when your current revision doesn't exist.04:25
abentleyRolly: You don't need remove-revision.  You just need to branch "."04:25
spivRolly: so the procedure would be: generate a branch without the offending revision in its ancestry (e.g. with rebase), then generate a repo without that revision (e.g. with remove-revision, or e.g. by making a new standalone branch).04:26
Rollyabentley: Do you mean 'bzr branch ../source/.' ?04:26
abentleyRolly: EMPHATICALLY NO04:26
Rolly:*(04:26
Rollyspiv: the offending revision is revno 1. Is rebase still possible?04:27
abentleyI mean "bzr branch . new_version_of_branch_without_offending_revision_in_repo"04:27
Rollythanks I'm trying that now04:28
spivRolly: I haven't used the rebase plugin enough to know.04:28
abentleyRolly: you need to do that after you've committed your alternate revno 1.04:29
abentleyRolly: And probably your alternate revno 2 also.04:29
spivBut it sounds like you want a different first revision, rather than to just remove the first revision?  If so, the "init;merge;revert--forget;rm;commit dance" lifeless mentioned sounds reasonable.04:29
RollyabentleyL I'm really sorry, I don't understand. I just did "cd ../source ; bzr branch . ../new" and it branched all of the revisions04:30
abentleyRolly: The problem is that you did "cd ../source".04:30
abentleyRolly: You have a current directory, containing an alternate revno 1, which does not have config.php.  *that* is what you need to branch.04:31
abentleyYou have not told me the name of that directory, so I'm calling it "."04:32
RollyGotcha. And what does "new_version_of_branch_without_offending_revision_in_repo" mean?04:32
Rollyis that the location I'm branching to?04:33
abentleyRolly: Yes.04:33
RollyEureka, thanks04:33
RollyIs the "." somehow special?04:34
spivNo, it's a path like any other.04:35
spivWell, a path meaning "the current directory", of course.  But just a path.04:35
RollyThanks spiv/abentley/lifeless. I'll continue tomorrow but I think I know what I'm doing now04:35
chrismurfHow can I *permanently* obliterate all records of a file from BZR?05:55
chrismurfI'm trying to move some files from a previous closed SVN repo to an open BZR repository, and would like to maintain what history I can, but delete some files which aren't being opened05:56
spmchrismurf: "A" method that I personally used: http://www.stedee.id.au/2008/11-06/manually_migrating_subversion_repository_launchpadbzr06:00
spmthere may be other better ways. YMMV.06:00
chrismurfhmm - doesn't sound like fun, but does sound like exactly what I'm looking for :-)06:01
chrismurfthanks06:01
spmnp06:01
chrismurfwhat's the benefit of faffing  about with svndump and svnadmin, rather than just using svn2bzr --exclude?06:02
Peng_We use bzr-svn instead now, and it can't exclude? :P06:02
chrismurfhaha - I see :-)06:03
chrismurfoh yeah - svn2bzr doesn't even exist06:03
chrismurfhow about that06:03
Peng_svn2bzr doesn't exist anymore?06:04
chrismurfwell, the repo linked to on the site is down: http://bazaar-vcs.org/svn2bzr06:07
chrismurfbut there are branches in LP that I'm looking at.06:07
spivchrismurf: which repo is that?  The links I followed on that page all seem to work.06:07
chrismurfbottom of page06:08
chrismurf"Current development version can be found in"06:09
spivchrismurf: that link works for me.06:09
spivchrismurf:06:09
spiv$ bzr log -r -1 --line http://bzr.labix.org/svn2bzr/trunk/06:09
spivFormat <RepositoryFormatKnit1> for http://bzr.labix.org/svn2bzr/trunk/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance06:09
spiv13: Gustavo Niemeyer 2008-04-06 Merging changes from James Henstridge branch...06:09
chrismurfoop -I'm being stupid06:09
chrismurfno HTML page, but BZR Repo.06:09
chrismurfthanks06:10
=== beuno_ is now known as beuno
chrismurfJudicious use of svn2bzr is just the ticket.  Thanks spm!06:26
spmchrismurf: np. I found that bzr-svn just wouldn't work the way I needed it to. Could have been pebkac. Shrug. I got there in the end. :-)06:41
chrismurfyeah - I'm finding it doesn't quite do what I want either :-/06:41
chrismurfin particular SVN mv's (of which there were some near the end) are not handled well06:42
chrismurfI think that's a problem on the SVN side, but I'm trying to figure out how to match up the move's manually...06:42
chrismurfsigh.06:42
chrismurfI need a repository editor ;-)06:42
chrismurflittle delete here and tweak there.... voila!06:42
chrismurfwhat could possibly go wrong06:43
spmI vaguely recall it would only process about half of the main repo and then barfed. Hence the switch to svn2bzr, which worked.06:43
spm:-)06:43
chrismurfI tried to include /trunk/foo/bar and exclude everything else, and it barfed until I also included /trunk$ and /trunk/foo$06:43
chrismurfwasn't smart enough to create dir's06:44
spmheh - try and use svndumpfilter maybe?06:44
chrismurfmay just look at the BZR python API and code the transfer by hand.06:44
chrismurfdon't know svndumpfilter or particularly want to learn SVN internals :-)06:45
chrismurfor maybe I'll just horribly abuse svn2bzr -- hard to say.  I'll come up with something.06:46
spmsvndumpfilter is documented enough in the red-bean book (from memory); and the actual dump file is pretty obvious - well I was able to use awk against it :-)06:46
chrismurfanybody know generally how to import "SVN MV" actions to BZR?06:51
chrismurfie how to convert a "delete, add" to a "rename"06:51
lifelesschrismurf: bzr pull will do that06:55
chrismurfah - as opposed to bzr co?06:55
lifelesswell bzr co svn://foo will do a branch operation, same overall result06:56
chrismurfhm - seemed to not understand mv's somehow...06:56
chrismurfwill try again.06:56
lifelesssleeptime for me06:56
lifelessgnight all06:56
vilahi all07:32
chrismurfspm, you there?07:43
jelmerspm, what were you trying to do exactly?08:30
jelmerspm: Importing a svn branch into bzr but ignoring some files from the svn branch in the process?08:31
jelmerlifeless, What should be made a no-brainer?08:31
spmjelmer: hey. 2 things - 1. import trunk, ignore all the tags and branches made; and a series of files that I didn't want/need in bzr & 2. change the 'committer' so LP would register it as me. That 2nd was more of an everest challenge than truly being useful. :-)08:33
* igc dinner08:34
jelmerspm, ah, ok08:34
jelmerspm: That's indeed not possible with bzr-svn08:35
jelmerspm, The idea would be that bzr has some tools to do that sort of thing08:35
spm:-)08:35
spmjelmer: fwiw, I originally worked this out back in July, so reasons for/why etc are a tad vague now. The blog posting was the streamlined version when I redid for another project.08:36
spm"I know this works; I will do it this way"08:37
tgahowdy08:41
jelmerspm, ah, thanks08:42
jelmerspm, (just curious, but it's good to know about that use case)08:42
spmjelmer: np, glad to help even in such a small way :-)08:42
tgaI'm looking at setting up a central repository for a project and I'm not sure where the files are actually supposed to live08:43
tgathe manual says that "central shared branches typically only want to store history, not working copies of files"08:43
tgaso where do the files go?08:43
bob2tga: do you understand the distinction between working copy, repository and branch?08:44
tganot fully, as it's probably evident08:44
tgaworking copy = actual files I'm working on, checked out from repo08:44
spmtga: they live inside the ... repository, kinda like inside a zip file, to use a really loose analogy. You can extract them in the dir in the cental location, but don't have to.08:44
bob2repository = bag of revision data08:44
bob2branch = pointer to one revision (and thus all that revision's ancestors)08:45
bob2working copy, yeah08:45
bob2so in a ceentral shared branch dealy, you just have branches and a repository, no working copies08:45
tgaso does the repository contain the actual files or just changes?08:46
bob2the latter, sort of08:46
tgaso when I check out a file is recreated by going through all changes?08:46
bob2conceptually08:47
bob2in reality it'll probably have a nearby copy cached08:47
tgaI see now, so there is no need for a working copy on the repo08:47
bob2*handwave*08:47
spmtga: exactly08:48
tgaalright, thanks, I'm slowly getting to understand what's going on08:48
spmtga: if you have access to 2 machines? create a local repo. add some files, commit, repeat a few times to get some simple history; now 'bzr push' that repo to the 2nd PC via, eg, ssh. You should only have a .bzr in the remote directory.08:50
spmon the 2nd machine; now bzr branch from that .bzr only directory, and behold, all the files re-appear :-)08:50
spmSo in your case; that 2nd machine would be the central repo that everyone else could branch from. Clear as mud?08:51
tgawhy do I need to explicitly create a repo? from what I can see, bzr init on a directory gets me the same thing08:51
spmyou don't need to.08:52
tgawhat do I get by doing it though?08:52
spm... control over who can commit to trunk08:52
bob2it is just a storage optimsation08:52
bob2you only need to store changes shared between related branches once08:52
bob2rather than for each one08:52
bob2spm: you sure you need a repository for that?08:53
tgasooo technically I could bzr init on my working dir and copy the .bzr dir to the server?08:53
spmbob2: no - I misunderstood the question - your answer was more correct08:53
bob2tga: yup08:53
tgathat's nice08:53
spmtga: is very nice. we rsync dir's all over the place that way. Even to the prod servers.08:54
bob2(if you 'bzr init' in a repository, though, you can't - .bzr in the branch doesn't store the "revision data", it just points at the repository's store)08:54
tgajust to make sure I'm on the right track here, does this sound alright: bzr init, add, commit on /local/project/src dir, bzr init-repo on empty /server/project, then in /local/project/src, bzr push /server/project/trunk08:58
Peng_tga: I just walked in on this conversation, but yes, it does.09:03
tgathanks Peng_09:04
* tga is fixing a million "file name too long" errors09:04
Peng_tga: (You'd probably want to create a local repo too in /local/project or whatever, if you hadn't already.)09:04
tgawhy?09:04
Peng_In case you want multiple branches.09:05
tgaoh, I see09:05
tgaso I don't duplicate code all over the place?09:05
Peng_Without a shared repository (bzr init-repo), "bzr branch" will copy the entire repository, which just wastes space.09:06
tgagotcha09:07
jonnydeehi, does anyone know when the bzr-1.10 installer for windows will be released?10:36
Peng_jonnydee: Posts on the list have said that there are problems with the machine they're built on, so the answer is either "When the people responsible for the machine fix it", or "When someone else manages to go through the complicated build procedure".10:49
Peng_(Or, "When anybody manages to figure out what's wrong in the first place, and fix it"10:49
Peng_)10:50
jonnydeePeng_: thangs for your info :)11:36
LarstiQmoin12:05
rockyis there anyway to merge repos? i need all the history out of one repo to go into another repo14:03
awilkinsrocky: You can just branch the branches into the other repo14:07
awilkinsDo you mean "can I splice the history of two branches together" though?14:07
rockyno i think your first suggestion is what i need14:07
rockyi have bzr repo X, repo Y ... repo Y has a couple branch histories that i need in repo X, and i need to destroy repo Y14:08
awilkinsThe converse is also true - you can "split" repos by making new ones and only branching branches with history you wish to keep into them14:08
rockyhm... how do i make eshell display the status bar that comes up on a long bzr checkout? :)14:09
vilarocky: export BZR_PROGRESS_BAR=tty14:16
=== maxb is now known as Guest97053
Peng_rocky: Repositories are just big bags of revisions. They don't have to be related at all.14:25
=== Guest97053 is now known as maxb
etankhow do i tell bzr to stop watching a file that is already being watched14:44
etankbzr ignore tells me that it is already being watched and will not be ignored14:44
awilkinsbzr ignore foo14:45
awilkinsbzr rm foo --keep14:45
etankaah14:45
etank--keep14:45
etankcool thanks awilkins14:45
awilkinsYou're welcome14:45
etanki did a bzr rm and the file went o00f14:45
etanks/o00f/p00f/14:45
awilkinsyou could make an alias - "forget = rm --keep"14:46
etankthat would work too14:46
etanksweet14:46
etanki should have looked at http://doc.bazaar-vcs.org/bzr.dev/en/quick-reference/quick-start-summary.pdf more closely14:49
etankwhat i was looking for is right there in the middle :)14:49
tgahow can I automatically update a working copy of a branch on the server every time there is a commit?15:16
Peng_tga: If you're pushing over bzr+ssh or sftp, you can use the bzr-push-and-update plugin.15:17
tgaah, plugin, right15:23
marcoilwith bzr-svn 0.5 rc1: "bzr: ERROR: Could not determine revno for {svn-v4:<s3kr3t>:33292} because its ancestry shows a ghost at {<s3kr3t>}". Any idea?15:31
marcoil(when committing, btw)15:32
marcoilthe last two days with bzr-svn have been hell, really. I don't know what I did, but it stopped working perfectly as it used to do and it's making me go nuts :(15:34
LarstiQmarcoil: did that timeframe include a move from 0.4 to 0.516:05
LarstiQ?16:05
marcoilyep, it was the only way of getting it to at least work. For one commit :) Then I got that strange message. Sorry, I didn't want to rant...16:05
LarstiQwhy did 0.4 not work?16:06
marcoilI added a branch to the svn-branching-scheme and I stated getting lots of error messages16:06
marcoiland couldn't commit16:07
bialixhi, is Marius here?16:12
LarstiQmarcoil: aha16:18
bialix_I guess no.16:23
LarstiQmarcoil: branching-schemes are a painful area of bzr-svn, so I'm unfortunately not surprised changing it gave some problems16:25
LarstiQmarcoil: as to 0.5, I haven't tried it yet. It's supposed to get rid of branching schemes, but apparently it's not yet ideal either.16:25
marcoilanything that gets rid of the branching schemes is great... Our repo has some really strange scheme16:26
lamontso how do I get bzr visualize (bzr-gtk) in intrepid without getting that bzr-notify crack?17:01
jamlamont: I'm pretty sure the notify stuff is only a "recommends" not a requires17:09
jamI would uninstall bzr-dbus if it lets you easily17:09
lamontbzr-notify is delivered in the bzr-gtk package17:09
lamontwhich I just removed from my machine as the simplest way to get rid of the totally annoying popup17:09
lamontof course, if there's a way to have it _NOT_START_, that'd let me have bzr visulaize17:10
jamI don't really know enough about it to help17:10
jamI generally run from source17:10
lamontbecause every commit really wants to interrupt my thought process with a popup telling me that, oh wait: I just committed17:10
jammkdir -p ~/.bazaar/plugins; cd ~/.bazaar/plugins; bzr co lp:bzr-gtk gtk17:11
lamontah17:11
lamontyeah - I'm a package kind of guy17:11
lamontand I use bzr when the folks I'm working with want me to use it... otherwise there's this other VCS that I'm still more comfortable with that has all my source in it already...17:12
=== stoneToad is now known as StoneToad
StoneToadlamont: you can tell it to stop running17:16
lamontStoneToad: yeah...  it was a "GRRR HOW" kind of moment that I didn't want to bother figuring out17:17
* fullermd didn't even know there was a 'notify', and still doesn't know what it does :p17:17
StoneToadlamont: ah yea, I ran into the instructions somewhere when I was trying to figure out what the hell this icon in my satuts bar was :)17:18
StoneToadtry apt-get remove bzr-dbus17:20
StoneToadintrepid pulls in recommends by default now17:20
StoneToad(which is the correct default for debian based systems)17:21
StoneToadif you want to block a recommended package from being installed you can do something like apt-get install packageIwant packageIdontwant-17:22
StoneToadyou can also use + appended to the name to make it install that package (handy for forcing an alternative package that provides a dependency)17:22
lamontStoneToad: yeah... apt and I are old friends17:23
lamontand installing recommends? yeah, makes sense for many things, esp when suggests are correctly used17:23
StoneToadahh how important that "correctly" is :)17:24
lamontverily17:25
lamontesp when many crackheads use Recommends as "I think this'd be cool"17:26
onoxI get this error when I try to pull a branch:17:26
onoxbzr: ERROR: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.17:26
onoxanyone know what's wrong?17:26
StoneToadare you in a console? (no X)17:27
lifelessonox: remove the bzr-dbus plugin; there is a bug if you are not in a X session17:28
onoxin a gnome-terminal17:28
onoxnever happened before. Just yesterday with 1.9 and today with 1.9 and 1.1017:33
TakI get that sometimes with screen sessions as well17:35
Tak(even in an X session)17:35
lifelessonox: aare you in a screen session that was started from a previous X instance?17:36
onoxno17:36
onoxit happens when emerge starts to pull in revisions of awn-extras17:36
lifelessemerge is probably isolating itself then17:37
lifelessI'll try and get it ixed today, but its kinda hectic here17:37
onoxlifeless: maybe, I do have sandbox and userfetch FEATURES enabled, but it has worked for months this way17:38
lifelessonox: did you dbus version change? they change the exact error-to-catch regularly17:40
lifelessits like whack-a-mole17:40
onoxlifeless: nope, only upgraded portage to 2.1.6 on Dec 11 02:1317:41
onoxbut it also happens with pkgcore17:42
lifelessonox: so the cause is probbly something adding more sandboxing IMO.17:42
lifelessnot the root cause, which is the bug, but the proximate cause17:43
onoxI'll try it without sandboxing17:43
onoxback in 20 min.17:43
lamontlifeless: all of dbus is whack-a-mole18:00
lifelessabentley1: https://code.edge.launchpad.net/~bzr/bzr-dbus/trunk seems not to be syncing18:05
lifelessabentley1: the webui is showing 37, I see 38 as most recent18:05
=== poolie1 is now known as poolie
abentley1lifeless: That's how it looks to me, also.18:10
=== abentley1 is now known as abentley
lifelessmthaddon: ping ^18:13
mthaddonlifeless: let me check if there's a problem with the branch scanner18:43
abentleylifeless: I'm adding the ability to specify a thread to up-thread --auto19:22
lifelessabentley: cool. Do we hwave up-thread --auto?19:23
abentleylifeless: We do.19:23
abentleylifeless: Should up-thread $THREAD imply --auto?19:24
abentleylifeless: The alternative seems to be erroring.19:24
lifelessabentley: yes, I think it should19:25
abentleylifeless: Cool.  Will do.19:25
lifelessalternatively19:25
lifelessup-thread is automatic, and --manual is used to go up one-thread manually19:26
abentleyOkay, I'll do that.19:27
bialixluks: hi19:54
=== sabdfl1 is now known as sabdfl
=== asac_ is now known as asac
abentleylifeless: --no-auto or --manual?  --no-auto is just a change of default, and won't break anyone.20:24
lifelessabentley: no-auto seems ugly to me20:24
lifelessloom is still really beta, I think breaking people is better than ugly20:24
abentleylifeless: Okie.20:25
lifeless--manual isn't perfect either, if you think of a better name, go for it20:27
abentleylifeless: I've pushed the performance enhancements and --manual change into my branch.20:48
lifelessabentley: cool; doubt I can look trivially today, can you drop a merge-request into lp for it ?20:49
abentleylifeless: Sure.20:50
jamlifeless: after today you are gone until January, right?21:31
enigmaQuestion about bzr-svn 0.5 RC1...21:38
enigmaIt's great that it supports following copies now.  Woohoo!21:39
enigmaIs the SVN version which made the copy supposed to be showing up in the version history?21:39
enigmaExample.21:39
enigmaIf I have: svn copy http://server/svn/trunk/foobar http://server/svn/branches/newfoo21:40
enigmaThen, if I do a bzr branch on each of those URLs.21:40
enigmaI don't get the same history.21:40
enigmaThe history for the copy has an extra revision in it: the revision that made the copy.21:41
jelmerenigma: Yes, that's correct21:41
enigmaSo I can't merge between the branches.21:41
enigmaWhich seems a little strange to me since in bzr when I make a branch, the history is identical.21:41
jelmerenigma, You can merge between the two, they share the same ancestry21:41
enigmaOh...you're right...my mistake...I was trying to "pull"21:41
enigmaI can't pull from the "trunk" to the "branch"21:42
enigmaSince the trunk is missing a revision.21:42
enigmaI'm just trying to understand if that's the intended behavior.21:42
jelmeryeah, that sounds right21:42
jelmerthe same thing would happen if you had two bzr branches, one of which was one revision ahead of the other21:42
enigmaSo I should be using "merge" instead of "push" and "pull"?21:42
enigmaYeah, that's what's messing me up.21:43
enigmaIn SVN, they are identical.21:43
enigmaIntuatively, I expect the rev that made the branch to not count as a revision from bzr's point of view.21:43
jamenigma: well, why have  a separate branches if you are going to push&pull between them to keep them as identical mirrors?21:43
enigmaJust like making a new branch in bzr doesn't create a revision.21:43
jelmerenigma, they have the same contents in svn21:43
jelmerenigma, but they have a differen thistory in svn too21:44
jamenigma: but it does in svn21:44
jelmerenigma, try running "svn log" on both21:44
jamIIRC you have to commit the new branch21:44
jelmerenigma, creating a new branch in svn means doing a "pointless" commit21:44
enigmajelmer: We have a "business requirement" to use SVN.21:44
enigmaAnd that "business requirement" mandates a layout.21:44
enigmaSo, there are some branches in two parts of the tree that are simply clones of each other.21:45
jamenigma: interesting. Though I would still say "merging things into trunk" rather than push&pull is a better way to work21:45
jamIf only for the joy it gives "bzr log --short"21:45
jelmerenigma, sure, I don't see what the problem is with that pointless commit in either svn or bzr21:46
jamenigma: so after creating the new branch, can you push that back into trunk?21:46
enigmaOne thing we've done before is a: bzr push --overwrite http://sever/svn/branches/newbranch21:46
enigmajam: let me try21:47
jamIt seems like it would be a bit weird for svn to support that21:47
jamsince it versions everything in the same namespace21:47
jelmerit does support it21:47
enigmaThen I can push and pull between the two...which is REALLY COOL! :-D21:47
enigmaSo I was expecting to be able to do that between branches in SVN with 0.5...but I can't because of the extra "pointless commit" which made the branch.21:48
jelmerjam, It removes the old branch with the same name and creates a new one with the same name21:48
enigmajam: and it pushes the whole revision history with it. :-D21:48
jelmerenigma, only in 0.421:49
jelmerbecause you had two branch paths with different branching schemes21:49
enigmaOh...OK.21:49
jelmerit should no longer do that in 0.521:49
jelmerenigma, you should be able to get around the pointless commit by using merge or rebase21:49
enigmaOK...that's good to know.21:49
enigmaI can rebase an SVN branch?21:50
jelmerwell, you can rebase your local bzr branch before you push it to svn21:50
enigmaOh, I see...but then I can't push it back to the original, right?21:50
jelmerenigma, right21:50
enigmaIs there anyway to "hide" or "ignore" the pointless commit and not have it considered part of the branches history?21:51
enigmaSince it really is meaningless from bzr's point of view?21:51
jelmerenigma, you can set the bzr:hidden revision property on the pointless commit21:51
jelmerthat will make bzr-svn ignore it21:51
enigmaYeah!? Is "bzr:hidden" in the docs?21:52
enigmaIt's new to me.21:52
jelmerenigma, no, it's not in the docs21:52
enigmaHow do I use it?21:52
jelmerit's an experimental new feature21:52
enigmaOK, and it's part of 0.5 RC1?21:53
enigmaHow do I use it?21:53
jelmerit's not actually intended to be set by users21:53
jelmerbut you can, if you insist21:53
enigma>:-)21:53
jelmerset "bzr:hidden" to ""21:54
jelmerand "bzr:root" to the branch path on which you made the commit, with all leading and traling slashes trimmed21:54
jelmeryou will have to remove your bzr-svn cache if you do this, since bzr-svn normally sets this during commit21:55
jelmerand you will have to make sure everybody else who is using that repository removes their bzr-svn cache as well21:55
enigmaWhere is that property set?21:56
jelmeryou can set it with "svn propset --revision ...21:56
enigmaSVN let's you set properties on revisions? Really? (I never knew...)21:57
enigmaOK. I'll give that a go21:57
jelmerenigma, not out of the box21:57
jelmerenigma, you have to enable the right revision property hook21:58
enigmaOh, OK. I'll check and see if that's setup for our repo.21:58
enigmaThanks again for all your help!21:58
enigmabzr-svn is fantastic! I've been really impressed.21:58
jelmerthanks21:59
jelmerenigma: btw, you will have to remove your existing bzr branches if they were created using bzr-svn already contain any revisions on which you're setting these svn properties22:00
enigmaOK...that's good to know too.  Thanks.22:01
LarstiQheya poolie, sabdfl22:28
sabdflhowdy LarstiQ22:28
pooliehello LarstiQ22:30
=== mtaylor_ is now known as mtaylor

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