/srv/irclogs.ubuntu.com/2007/12/05/#bzr.txt

pooliehello naitandu00:05
igcjkakar: the latest User Guide might help. It's currently online here: http://people.ubuntu.com/~ianc/doc/en/user-guide/index.html. The section on Reusing a checkout explains some ways around the "switching locations configured in tools/databases" issue. The very first chapter puts the case for Bazaar as well.00:05
naitanduwhere can i get current information on bazaar for Visual Studio? The bazaar-site did only mention it as part of GSoC ?!00:06
jkakarigc: Thanks!  I'll check that out.00:08
igcjkakak: no problem. Also see http://bazaar-vcs.org/BzrWhy, particularly my paper on Why DVCS matters.00:09
=== edencane is now known as edencane_
=== edencane_ is now known as edencane
PengHahaha. Reconcile over sftp took 230 minutes. I think it takes 20 locally, and it might take up to an hour to upload; don't remember.00:58
Peng(This was of bzr.dev. Well, close it it.)00:58
PengAugh!00:58
PengI have a copy of bzr.dev there too that I could reconcile.00:58
pooliehm01:00
PengAlso, there were 12-13,000 SFTP.readv()s in .bzr.log. :)01:03
jmligc: thanks01:39
igcjml: can you tweak that and submit to pqm or do I need to?01:40
jmligc: I've tweaked it, but you need to submit it to PQM.01:41
igcok01:41
ubotuNew bug: #174055 in bzr "can't run bzr info while dirstate is locked" [Low,Confirmed] https://launchpad.net/bugs/17405501:45
ubotuNew bug: #174059 in bzr "test__create_temp_file_with_commit_template_in_unicode_dir fails if test platform doesn't allow unicode filenames" [High,Confirmed] https://launchpad.net/bugs/17405901:55
* igc food02:07
=== mw is now known as mw|out
jmligc: I've found the cause of the selftest failures: I wasn't unregistered my test transport.02:12
bacspiv: ping02:25
spivbac: pong02:28
lifelessjkakar: 'bzr switch'02:30
xjjkhi... I think I'm going in circles trying to find something02:54
xjjkI want to use the latest bzr packages from bazaar-vcs.org's Ubuntu repositories, but bzr-svn is not included... are there up-to-date packages of that somewhere as well?02:55
igcjml: cool. Can you submit an updated patch for me to land?03:02
jmligc: yep. in a sec03:03
jmlsent03:05
igchi WeirdArms03:22
WeirdArmsHey03:22
WeirdArmsHad a talk with our QA lead03:22
WeirdArmshe's not interested in Bazaar03:22
igcdid he say why?03:23
WeirdArmswas just wondering if you had suggestion for two-way tools to cross import03:23
WeirdArmspretty much what we discussed03:23
WeirdArmsso badly burnt on baz03:23
WeirdArmsand far enough into choosing Hg to reconsider03:23
WeirdArmsSo I'd like to try it out03:25
igctwo-way tools are a two-edged sword as you know03:25
WeirdArmsbut would need to be able to import out central repo into Hg and then push Bzr comments back to Hg03:25
WeirdArmsyeah03:25
igcwe do have bzr-hg but I suspect it's more about migration that full two-way interaction03:26
WeirdArmsok03:26
igcby migration, I include local mirroring03:26
fullermdLast I heard (which was long ago), it could at least pull from local hg branches, but wouldn't work with remote.03:30
fullermdI don't think it's had much love.03:30
fullermdigc: Was that checkout/bound mail reasonably clear (or at least, definitively muddy)?03:38
igcfullermd: it was great thanks03:38
igcI like your explanation but I wonder whether most people think that deeply about it?03:39
fullermdWell, most people probably have lives instead   ;>03:40
igc:-)03:40
igcit does matter though ...03:40
fullermdI tend to /think/ that most of the people using those capabilities are wanting checkouts, but there's probably a core of people wanting bound branches.03:40
igcparticularly when implementing switch on heavy checkouts03:41
fullermd(but those impressions aren't based on anything real concrete)03:41
igcI think switch ought to be the same as "unbind; pull --overwrite URL;bind URL" ...03:41
fullermdIt's stuck me as one of our low-level (in the sense of 'minor', not 'architecturally fundamental') stress points for a while.03:41
igci.e. to make the local cache a true reflection of the remote branch03:42
* fullermd nods.03:42
igcthere's an argument for switch meaning "bind + update" though03:42
fullermdI think you can probably mostly ignore the schism as far as 'switch' goes; people who really want 'bound' probably wouldn't use it.03:42
igci.e. be safe and don't throw away any local changes03:42
fullermdIs there a difference?  I know 'pull' merges WT changes...   never tried --overwrite.03:43
fullermdI guess it might.  You'd probably want '--overwrite-branch-but-merge-wt'.03:43
igcit's necessary if the branches have diverged03:43
fullermdIt gets a little sticky if you have --local commits; do you want to throw them away?  Can you even tell, without contacting the upstream (which may have gone away)03:44
igcnot sure if I can tell03:47
mlh_tee hee Is this naughty of me: http://svn.haxx.se/users/archive-2007-12/0065.shtml03:49
mlh_"Watch out though - you may like them (bzr or git) so much you might not want to03:49
mlh_go back to svn.03:49
mlh_It's weird though, time and time again I see questions that would be suitable addressed by using a DVCS.03:50
PengWhat would be weird is if someone *did* want to go back to svn...03:51
dashso, um... I typed "bzr add" by mistake and added a bunch of files I didn't want to03:51
mlh_And yet the SVN bigwigs say they don't see the demand03:51
dashwill "bzr added|xargs bzr revert" get me back to where I was? :)03:51
fullermdI'd use "bzr rm --keep" instead of revert, but I think the result would be the same.03:52
dashoh, what's the difference03:53
fullermdI'm not sure there is one.03:54
fullermdJust 'feels' clearer to me what I'm doing.03:54
dasherrrrm hm03:54
dash'bzr added' does not print anything, despite 'bzr status' showing a pile of added files03:55
fullermdadded might go down from $CWD instead of the tree root...03:55
dashweird03:56
dashwell, that worked03:58
dashthanks!04:06
PengHow important do you think it really is to back up before running reconcile? I mean, is it just in case something goes *really* wrong, where reconcile would traceback? If "bzr log -r -1" works and check seems fine, is it okay to delete the backups?05:57
spivPeng: if check passes, then I'd be pretty comfortable with the reconcile.06:08
spivPeng: I guess it depends on how much you trust our code vs. how much it's costing you to keep a .bzr.backup directory lying around :)06:09
Pengspiv: Well, I'm on a very small partition, so the cost is > nothing.06:13
spivPeng: In that case, I'd just delete the backup.06:14
spivPeng: If bzr check is happy, then the branch is pretty healthy.06:14
PengBut on the other hand, all of my backups are just another 60 or 70 MB.06:14
spivPeng: if you can "bzr check" a branch, you know that every revision is intact.06:15
PengAlso, I still have a few ".bzr.knits.tar.7z" files from when I converted to packs, so I guess the clutter doesn't bother me much, either.06:15
PengOkay.06:18
PengWell, I'll keep 'em around anyway.06:18
PengAnyway, thanks06:19
* Peng wanders off.06:19
=== thumper is now known as thumper-afk
Pengbug 16508007:09
ubotuLaunchpad bug 165080 in bzr "Quick Start Guide doesn't document "bzr send"" [Medium,Fix committed] https://launchpad.net/bugs/16508007:09
PengThanks ubotu.07:09
PengSorry for the interruption. Now back to your silence.07:09
* mlh_ finishes counting out 4'13" of silence, sends royalties to John Cage07:17
AfCSilence is underrated.07:20
=== mlh_ is now known as mlh
mlhAfC: hypocrite!  :-)07:24
PengOh no, the foam slip my DS came in is slightly rotn.07:27
Pengrotn?07:27
Pengtorn.07:27
* Peng wanders off.07:28
PengErk.08:25
Odd_BlokePeng: Erk?08:25
PengI ran 'bzr remove-tree' to save some disk space, and it didn't delete a bunch of directories due to .pyc files, so then I tried to run 'bzr clean-tree', but it wouldn't run because there was no working tree!08:25
PengSo now I ran 'bzr co' and I'm going to try clean-tree again.08:25
ubotuNew bug: #174105 in bzr "move glossary from web site into user docs" [Medium,Confirmed] https://launchpad.net/bugs/17410508:40
lifelessigc: pull overwrite clobbers local changes doesn't it? switch shouldn't do that ;).09:06
=== kiko-afk is now known as kiko
terdmonkhi, im new to bzr and am trying to see if it fits RCS model my team is looking for09:58
* terdmonk is trying to understand where branches fit in09:58
terdmonkif i start a project called foo-1.009:58
terdmonkand also start project foo-2.009:58
terdmonkshould both projects belong under a foo branch?09:58
terdmonkor is foo-1.0 and foo-2.0 put under their own branches?09:59
terdmonkand if so, how will a developer be able to check out the latest branch without knowing what version is the latest?09:59
terdmonki could see how a developer could checkout the latest branch if i had foo/foo-{1,2}.0 as a branch10:00
terdmonkcould someone kindly shed some light? :)10:00
Odd_Bloketerdmonk: What you would tend to do is have your main development taking place in one branch, normally called 'trunk'.  When time for a release comes, you branch from 'trunk' to 'foo-n.n' and any release-specific stuff goes into 'foo-n.n' while development can continue in 'trunk'.10:01
Odd_BlokeSo unless a developer is specifically working on a release branch, they should always be referencing 'trunk'.10:01
terdmonkOdd_Bloke, ah yes. i see :)10:01
terdmonkso my directory structure would be project-foo/{trunk,foo-1.0,foo-2.0}, where trunk, foo-1.0 and foo-2.0 would be their own branches?10:03
Odd_BlokeSomething along those lines, yeah.10:03
terdmonkOdd_Bloke, excellent. thanks mate10:04
* terdmonk continues digging at bzr doco10:04
Odd_BlokeYou would want 'project-foo' to be a shared repository (look at 'init-repo'), so that any shared history from the branches will only be stored once.10:04
terdmonkahh, init and init-repo do different things :)10:06
terdmonkgotcha10:06
Odd_BlokeYeah, 'init' creates a branch, 'init-repo' creates a shared repository.10:06
terdmonkand a shared repository is meant for hosting branches?10:07
Odd_Bloketerdmonk: All branches have a repository, where revisions are stored.  Having a shared repository simply reduces duplication.10:08
* terdmonk nods10:10
Odd_BlokeSo they should be used wherever more than one branch with the same history will be stored.10:11
Odd_BlokeThey also make using branches for features and bug fixes a lot easier.10:11
Pengterdmonk: FWIW, I like it better when the main branch of a project is called "foo" or "foo-dev" or something rather than just "trunk". That way if I just want to get a copy of that branch and no others, the directory has a useful name.10:14
Odd_Bloke+1 on that.  bzr uses 'bzr.dev'.10:15
Odd_Blokes/trunk/foo.dev/ throughout. :)10:15
lifelessyou can also have foo - a repo and foo/foo-1.010:15
lifelessa branch at the root which is trunk :)10:15
Penglifeless: Bleh, that would be confusing.10:19
Lo-lan-doHi all10:34
Lo-lan-doQuick question: is bzr-git more-or-less usable?10:34
Lo-lan-doAlso, would you happen to know whether there's a git-bzr floating around somewhere?10:35
Odd_BlokeLo-lan-do: Toward the less ATM, I believe.  Enough for bzrk, the Launchpad page claims.10:36
Lo-lan-doYeah, but that page doesn't seem very recent, hence my quest for someone alive10:37
Odd_BlokeLo-lan-do: I believe the 'refactoring' branch is still the most recent work that has been done...10:37
Odd_Blokejam would know more.10:38
Odd_Bloke(implicit ping :p)10:38
Lo-lan-doYeah, I'm told jelmer also has an interest in it since Samba apparently moves to git10:38
ubotuNew bug: #174127 in bzr "Requesting a --names-only option for bzr diff" [Undecided,New] https://launchpad.net/bugs/17412711:31
blauwal_Hi, I've got a question about bazaar workflows. Assume we have an existing workspace and want to work on a new feature branch: With Subversion I would do: svn copy REMOTE:SOURCE-URL REMOTE:DEST-URL; svn switch REMOTE:DEST-URL; with git I would do git branch feature; git update feature. With bzr I guess I would have a shared repository with trees and would do an bzr branch foo feature inside the repository. This would still require to copy the whole w12:42
blauwal_orking tree, albeit without the history. Is there any way around it?12:42
PengNot at this time, and I don't think they plan one.12:44
blauwal_Peng: Thanks for your answer. It's a pitty though, copying 1.8 GB of sources is a pain in the ... :)12:45
ddaais there a way to bypass the confirmation prompts of "bzr break-lock"?12:47
PengIs there a --force?12:48
ddaanope12:48
abentleythen I guess you can't use the --force.12:48
ddaaand "< /dev/null" causes it to busy-loop printing the confirmation message12:49
PengOh.12:49
PengI recently found out uncommit has a --force. Why not break-lock? Too dangerous?12:49
abentleyBreaking a lock that is actually being used can cause data corruption.12:50
ddaaabentley: I figure you know that I realize that :)12:50
abentleyddaa: Yes.  I was answering Peng.12:51
abentleyddaa: I think you would have to use bzrlib.12:52
abentleyI'm not sure it would be wise to provide a way to bypass break-lock's prompt.12:52
PengWhat about some shell thing to pass it a few "y\n"s?12:52
Odd_Bloke'yes' FTW. :)12:55
mwhudsonddaa: you have to supply a ui factory12:56
PengI think I tried yes for something, and it didn't work.12:56
mwhudsonddaa: hm, are you reviewing my launchpad branch by any chance?12:57
mwhudsonddaa: if not, you should and your questions will be answered :)12:57
mwhudsonalso 17394112:58
mwhudsonbug 17394112:58
ubotuLaunchpad bug 173941 in bzr "hard to programmatically break a lock" [Wishlist,Triaged] https://launchpad.net/bugs/17394112:58
ddaaactually, I'm just trying to fix up stale locks in a ad-hoc way13:01
ddaaI already grepped the oops report into a list of bzr break-lock commands13:01
mwhudsonah13:02
mwhudsonfind ... -name held -type d | xargs rm -f ?13:02
* mwhudson runs away, terribly fast13:02
ddaamh13:02
mwhudsonnot serious, at all :)13:03
ddaathat actually sounds like a plan13:03
mwhudsoni guess it would work13:03
ddaaI'll be a bit more specific though :)13:03
ddaafunction h4X0rL0cK () { rm -rf $1/.bzr/{repository,branch}/lock/held; }13:06
ddaawhile read b < tobreak.txt ; do h4X0rL0cK $b ; done13:06
ddaathat should do it13:06
ddaaabentley: does that sound okay to you?13:07
abentleyddaa: It looks like it would probably work, but it doesn't seem to prevent you from deleting non-stale locks.13:09
ddaathe tobreak.txt file is a list of branches with known stale locks13:09
ddaaat least, known stale assuming nobody else broke the stale locks without telling me13:09
abentleyWell, you're no doubt aware it isn't 100% safe.  But it looks like it will do what you are asking.13:10
ddaaanything more specific about unsafety than "it's a scary hack"?13:11
abentleyJust the race condition.  A lock that you think is stale may no longer be stale.13:15
ddaahow's that13:15
ddaaif there's a stale lock, then the branch cannot be locked13:15
ddaaso it cannot become unstale13:15
abentleySomeone can run break-lock after you have generated tobreak.txt13:16
ddaaright13:16
abentleyAnd then commit.13:16
ddaait's assuming nobody else is breaking locks13:16
abentleyRight.13:16
ddaamwhudson: please do not break stale locks kthxbye13:16
ddaarace condition fixed :)13:16
ddaaokay mass stale lock cleanup done13:21
muffinresearchHi I am preparing a presentation about decentralised VCS and bazaar in particular. Can anyone explain what makes bazaar's diff algorithm better than others?13:54
=== kiko is now known as kiko-phone
muffinresearchHaving looked here http://bramcohen.livejournal.com/37690.html  there's not a lot of detail that will make it straight forward to explain.13:55
ddaaabentley: this is for you13:58
ddaabzr does not even use Bram's patience diff exactly, but a modified version.13:59
ddaaIn a nutshell, the intent is to make the diff as close as possible to something that reflects the intent of the programmer, for changes typically found in source code.14:00
ubotuNew bug: #174153 in bzr "bzr export --format=tar should have excludes options" [Undecided,New] https://launchpad.net/bugs/17415314:00
ddaaI cannot tell you how that translates in algorithmic technicalities though.14:00
=== mw|out is now known as mw
=== cprov is now known as cprov-lunch
=== kiko-phone is now known as kiko
=== cprov-lunch is now known as cprov
naitanduhello15:49
=== kiko is now known as kiko-fud
Lo-lan-doUm.  Wasn't the packs format supposed to be faster than dirstate?16:45
Lo-lan-do"bzr missing" takes 5.2 seconds on a dirstate repo, and 7.7 seconds on a copy of that repo upgraded to packs...16:46
Lo-lan-do(Between branches stored in the same repo, both times)16:46
mwhudsonLo-lan-do: "it depends"16:48
mwhudsonmissing sounds like one of those operations that might read the entire index16:48
mwhudsonwhich is slower with packs16:49
Lo-lan-doOh.  Hm.  What's faster then? :-)16:49
mwhudsonwell, it depends what you're doing16:49
mwhudsonin this case what probably needs to happen is that missing needs to be rewritten to use more graph based apis16:49
mwhudsonLo-lan-do: for example "pull" is waaaaaaaaaaaaaaay faster with packs16:50
Lo-lan-dostatus?  diff?16:51
mwhudsoni think status might be slower, with a band-aid applied to the 1.0 branch16:51
mwhudsondiff is likely about the same16:51
Lo-lan-doOkay, I'll keep my dirstate-with-subtree then :-)16:52
mwhudsonwell, you can keep both around easily enough16:53
Lo-lan-doIs there some doc on rich-root?16:54
datonot sure. but for bzr-svn is preferred over d-w-s16:55
jelmerLo-lan-do: what sort of documentation are you looking for?16:55
jelmerbzr init --help lists the rich root formats16:55
Lo-lan-dojelmer: What it's supposed to bring :-)16:56
jelmerit doesn't bring anything additional except the bits required to be used by bzr-svn, and is stable as opposed to dirstate-with-subtree which is experimental16:57
Lo-lan-doHmm.  So I should upgrade my repo to rich-root then.16:58
Lo-lan-doI'll try that right away :-)16:58
jelmerI don't think you can downgrade from dirstate-with-subtree to rich-root yet16:59
datoI've done it by pulling, I think17:00
vilaLo-lan-do: you should file a for any operation that is slower with packs than with knits, they are likely to fixed quickly17:12
vilas/file/file a bug/17:12
Lo-lan-doOkay17:12
Lo-lan-doI've started branching one branch of my dirstate-with-subtree repo into my rich-root repo about 20 minutes ago, it's still going.17:24
Lo-lan-doNot much disk I/O, but lots of CPU eaten.17:27
=== kiko-fud is now known as kiko-afk
datois it safe to rm repository/obsolete_packs/*? does bzr automatically do that, and when?18:10
Pengdato: I think they're deleted next time it repacks.18:11
datoriiight, placing the new old ones there. so it's never empty, it seems.18:12
james_wdato: yeah, you should only ever have one generation of obsolete packs, and so the disk usage wont grow indefinitely.18:12
james_wbut you are right, it will never be empty after the first repack (except if you delete it, and the short time before the new packs go there).18:12
james_wbut yes, you should be safe to delete it.18:13
datook, fair enough.18:15
datoI can see it being ok when pushing over sftp, since it's just a mv.18:16
datobut I push all my personal branches (those I'm the only commiter) with plain rsync since day 0, so I'd find a bit annoying having to sync obsolete_packs as well.18:16
datowhich is what I'll do, pass --exclude obsolete_packs to rsync.18:16
PengWhy use rsync?18:17
PengIt's probably faster, but unless you have gigs od data here it shouldn't be that dramatic.18:18
bialixprivet18:19
bialixis Ian here?18:19
datoPeng: rather than remembering to push after each set of changes in *each branch*, I just run `sync-code` once at the end of the day, or so.18:19
james_wbialix: no, it's a bit early yet I think.18:20
Pengdato: Huh.18:20
Pengdato: There's like a repo-push plugin.18:20
bialixheh, people from Oz18:20
PengErk, I can't keep track of who's who.18:20
datoPeng: huh wtf, kthxbye.18:21
jambialix: He won't be in for about 3 hrs18:22
jamdato: use checkouts for everything (it is what I do between by desktop and laptop and my server)18:22
bialixok18:22
jamHe will definitely be around in 518:22
jambut that may be too late for you18:23
bialixmay I ask anybody else, about our user-guide18:23
jam(the other problem with igc is that he is in a different part of Oz, which doesn't do DST, so he is an hour off of lifeless and poolie)18:23
jambialix: you can ask, I may not tell :)18:23
datojam: nah, this suits me very fine. :)18:23
jamI believe Aaron uses a local treeless repository and lightweight checkouts which he rsyncs between home and office18:24
jambut that may have changed over time18:24
jamsince he has "repo-push" and "multi-pull"18:24
jamin bzrtools18:24
Pengjam: Part of Oz doesn't do DST? Cool.18:24
bialixrepo-push is not the part of bzrtools18:25
datojam: plus, I like to sync the trees as well18:25
jamIIRC igc is in Brisbane (north east AU)18:25
jambialix: separate plugin... hmm, sounds a lot like bzrtools material, though.18:25
jambialix: anyway what is your user guide question?18:25
bialixit's a small and picky question actually, http://doc.bazaar-vcs.org/bzr.1.0/en/user-guide/index.html#introducing-bazaar section about history18:26
PengYou guys seriously use rsync? You know, you added push and pull commands like 20 versions ago.18:26
bialixgenerations: 1. file versioning tools, e.g. SCCS, VCS <-- is VCS correct here? perhaps it should be RCS?18:27
bialixPeng: I don;t use rsync, because I'm win32-guy18:30
Lo-lan-dobialix: I usually collapse generations 2 and 3 together, as well as 4 and 5.18:31
Lo-lan-doTo me, distributed VCS is 3rd gen.18:31
bialixLo-lan-do: right now I ask as translator18:32
Pengbialix: You == Alexander Belchenko, the guy who's been working on repo-push and -pull?18:32
bialixrepo-push only because James Henstridge don;t support this plugin18:32
bialixI'm not aware about existence repo-pull18:33
PengOh.18:34
PengOkay, then.18:34
PengI'm not either, then.18:34
Lo-lan-dojam, jelmer: By the way, any details on bzr-git?  The Launchpad page is sketchy, as is the wiki page, but Odd_Bloke tells me you're both involved in it.18:35
jamPeng: I haven't used rsync since 0.818:35
jamBut then, I wrote the original Transport code to make remote operations possible.18:36
Pengjam: Oh, good. :)18:36
jambialix: The one you are looking at should be RCS18:36
jam1. file versioning tools, e.g. SCCS, RCS18:36
jamis the correct programe18:36
jamprogram18:37
jamLo-lan-do: I was working on it a bit back at our company meeting18:37
jamI started working on the ability to build git branches to spec, so that I could make sure they get transformed into Bazaar branches properly.18:37
bialixwhat's actually difference between revision control and version control -- for english speakers?18:37
jamBut I got side-tracked by everything else.18:37
jambialix: in effect, not much18:37
Lo-lan-dojam: Heh, that tends to happen :-)18:37
bialixjam: revision -- is one of the hardest term to translate18:38
jambialix: http://www.m-w.com/dictionary/revision18:38
jam2:  a revised version18:38
jamSo a revision is... a version18:38
jamthat is somewhat modified from another version18:39
bialix:-)18:39
jamso "revision" has a bit more of the concept of evolving from another version18:39
jam(the "re" part)18:39
jamwell revise maybe..18:39
jamSo a "version" is a bit more standalone, and "revision" makes you think there was another one it came from18:40
jambut they are pretty much interchangable18:40
bialixoh, thanks. version is frozen, revision is vivd18:41
bialixvivid18:41
jambialix: bzr.dev has already been updated to say RCS18:42
jamwe probably just need to regen the docs18:42
bialixhmm, then my mirror of bzr.dev is out-of-date18:42
Pengjam: You need to regen http://doc.bazaar-vcs.org/latest/developers/ anyway so packrepo.html will work! And create a redirect from knitpack.html to it!!18:43
PengShould I have filed a bug on that?18:43
bialixbtw, question about HistoryHorizon18:43
bialixin ru_bzr one guy asked about such feature18:44
bialixhe said git already has it. It's true?18:44
PengHah!18:44
datoyes18:44
jambialix: git has the ability to 'graft' in history18:44
jamwhich  means your local tree claims to have more history18:44
bialixheh18:44
jamthan what gets pushed and pulled18:44
PengIn doc.b.o/bzr.1.0, packrepo.html works but it links to knitpack.html which 404s!18:44
jamI know you can start with a snapshot, and graft in history18:45
jamI don't know if you can take something that already has history18:45
jamand break it18:45
bialixsounds very good18:45
jambut I guess  if you just did a fresh import18:45
bialixi'm thinking about this18:45
bialixmany times18:45
jambialix: but it is one of the key items that Canonical wants in the next 6 months18:45
bialixalso sometimes I think about semi-commit18:46
jambialix: semi-commit?18:46
bialixwhen actual work is not finished to do fullcommit, but I need to go home/work and somehow I need push my changes to server or my USB stick18:46
jamsomething wrong with "commit + push + uncommit" ?18:47
bialixrepo-push plugin don;t like uncommits18:47
bialixand I'm a bit worrying about repo history pollution by temp garbage18:48
jamjust make a 'repo-clone' which supplies "overwrite=True".18:48
jambialix: not a lot of garbage, and when people pull from it, it doesn't get transferred18:48
jamotherwise, you could commit to the side, generate a Merge Directive for that18:48
jamand send the MD18:48
jamand merge it on the other side18:48
jambut that still installs the revisions into the repo18:49
bialixyeah18:49
PengAny way to get the LCA of two branches?18:49
jamThe other is to just use "bzr shelve" and copy your .shelf across18:49
jambut you need "patch" for that18:49
lifelessjam: bialix: you can only graft on a local client in git18:49
jamPeng: yes18:49
lifelessit doesn't propogate18:49
jamlifeless: right,18:49
jamI think the point is that it doesn't18:49
bialixno shelve is not silver bullet. it's still don;t support binary files18:49
jamPeng: "bzr log -r ancestor:../other-branch .18:50
jamthe final '.' is probably not needed18:50
jamPeng: or are you in bzrlib itself?18:50
Pengjam: Not in bzrlib.18:50
jamlifeless: good to see you around, now go play WoW :)18:50
bialixIMO shelf should operate more like temp branch, not as side patch18:50
Peng(Actually, I just want to create a small patch that can go in bzr.1.0 and bzr.dev without cherrypicking.)18:51
datojam: (jfyi, GFDL's invariant sections are optional, and Debian will happily take GFDL material if it does not make use of such sections)18:51
jamdato: thanks18:51
jamPeng: hmm.... I think you can do18:51
jamcd bzr.dev; bzr revision-info -r ancestor:../bzr.1.018:51
jamand then bzr branch -r XXX  bzr.dev bzr.ancestor18:52
PengRight.18:52
PengThanks.18:52
jamIf there is no revision number, then you need to use "revid:..."18:53
jamThough when I just tested it, it seems to give the dotted revision number in the current branch.18:53
PengOh.18:54
PengWell, I hope it did, because I just used that.18:54
bialixjam: I just thought: is it possible to generate snapshot of working tree packed in zip or tar.gz as semi-commit?18:54
bialixgenerating patch is not enough, because we need to know fileid for newly added files18:56
bialixis it safe to save snapshot of dirstate and then apply it to fresh tree?18:57
Lo-lan-doOuch.  Branching from dirstate-with-subtree to rich-root took 108 minutes.18:57
jamLo-lan-do: ouch and a half... I don't know why it would be that slow....19:00
Pengknit -> pack?19:00
jambialix: I believe if you take a snapshot of the WT and .bzr/checkout/dirstate it will work19:00
jamPeng: no, rich-root is still knits19:00
jam(rich-root-pack is packs)19:00
jamAnd knit => pack is reasonably fast19:00
bialixjam: I think it will enough to pack unfinished work for me. will try to write plugin19:00
jampack => knit is slow19:00
jambialix: if you want to get extra fancy19:01
jamyou can use "tree._iter_changes" to only pack up files which have been modified19:01
jamwhich would make for a smaller .zip file19:01
bialixnice, thanks19:01
Pengjam: Oh.19:02
PengRight.19:02
PengI think the LCA should be 3055, but 3052 works.19:03
jamPeng: remember, both sides need to have it, so A merging B isn't enough, B also needs to merge A19:04
jamWell, A merging B will give you the last revision of B as the common ancestor19:04
Lo-lan-doSame branching into a pack-0.92-subtree repo takes 5 minutes.19:07
jamLo-lan-do: it sounds like it is doing something like regenerating all of the inventory files19:08
jamsince the source might have fields that aren't allowed in the target.19:08
jambut man... almost 2 hours is something that should be looked at.19:09
Pengjam: 3053 in both branches is identical.19:10
jam(not necessarily by me... :)19:10
Lo-lan-doI'll report it, just after I report the regression in bzr missing.19:10
Pengjam: 3054 was merged from bzr.dev into bzr.1.0.19:10
bialixI'd like to ask one more question about english (or maybe australian?) recently Andrew Bennets wrote in reply about criss-cross: "wiggeda wiggeda wack". It's sounds very funny, but I have no idea what's it19:10
jambialix: there was a rock group named "Criss-Cross"19:11
jamwell, a hip-hop group19:11
bialix"jump jump"19:11
Lo-lan-doThe two youngsters wearing their clothes the wrong way?19:11
jambialix: http://www.lyrics4all.net/k/kriss-kross/totally-crossed-out/jump.php19:11
jamKris Kross will make you Jump Jump19:11
jam...19:12
jamAnd inside-out is wiggida wiggida wack19:12
jambialix: or if you prefer: http://www.youtube.com/watch?v=4UgficQpYE419:12
radixo/`19:13
jamradix: yes?19:13
jam(Assuming that is a person putting their hand up)19:13
Lo-lan-doI think maybe he means ♪19:14
jamah19:14
jamprobably19:14
radixo/` some-o-them try ta rhyme but they can't rhyme like this o/`19:15
radixjam: yeah. you're confusing o/` for o/ :)19:15
PengWhat do we lose when doing cherrypicking?19:16
lifelessdata19:16
bialixhistory19:16
PengVery specific. :P19:16
* dato gives o/~ to radix ;)19:20
fullermdHopefully, we can lose evil 90's hiphop references...19:21
bialixjam: thanks, LOL * 10019:21
radixdato: pshaw. o/` is superior to o/~. but of course u"\N{EIGHTH NOTE}" is the best :-)19:22
Lo-lan-doThere.  Debian bugs #454503 and #454504.19:38
ubotuDebian bug 454503 in bzr "bzr: Performance regression with pack format" [Normal,Open] http://bugs.debian.org/45450319:38
ubotuDebian bug 454504 in bzr "bzr: Large performance regression with rich-root format" [Normal,Open] http://bugs.debian.org/45450419:38
Peng:D19:39
Peng"And what have you been busy with this holiday season?" "Creating large performance regressions!"19:40
Lo-lan-doSorry about that19:40
Lo-lan-doBut, well, 108 minutes is a tad long for me.19:41
Peng:P19:41
PengThe missing thing is probably known and related to logs or complete-history-traversal or something. Did you check Launchpad?19:42
Lo-lan-doI checked the BTS, and I checked on IRC, and IRC told me to report it, so I report it.19:43
PengAh, okay.19:43
bialixjam: can't pull your branch https://code.launchpad.net/~jameinel/bzr/index-buffer-all19:44
bialixso, can't test your patch19:44
bialixfor #17297519:46
Pengbialix: If it's a missing revision, the branch might be against bzr.1.0 instead of bzr.dev.19:47
bialixno, it's just absent at launchpad19:47
bialix"This branch has not been mirrored, as Launchpad has been unable to access it."19:48
PengOh oh.19:48
bialixjam's server may be down19:49
PengServes me right for replying before opening the link. :P19:49
bialixor as daemon in Grim Fandango said: the server is never down - it's temporarily unavailable ;-)19:50
Peng:)19:53
PengLaunchpad has actually given up on trying to mirror it? How long was it down?19:53
Jammeris there way to see who has edited certain line last time?19:54
elmoJammer: bzr annotate19:54
Jammerelmo, thanks... dunno how I missed that >_<19:56
=== thumper-afk is now known as thumper
PengWait, bound branches != checkouts?20:09
jammwhudson: any luck on getting the importer to mirror my slow branches?20:16
Pengjam: Poke about https://code.launchpad.net/~jameinel/bzr/index-buffer-all not being mirrored because Launchpad couldn't access it?20:20
fullermdPeng: I keep my bound branches in the closet.  That way I can't hear them scream.20:26
jamPeng: that is what I was pinging mwhudson20:31
jamabout20:31
jamI'll hit try again20:32
Pengjam: Oh oh. Okay.20:32
jambut basically it was failing because it was taking longer than 15min to get progress20:32
jamwhich is because inventories.knit is big enough20:32
jamthat it cannot stream all of it over my slow pipe in 15 minutes20:32
jamvila's patch should help that20:33
PengYou haven't upgraded to packs?20:33
jamPeng: not on my main public repository20:33
Peng(Well, I guess a 50 MB pack would be even worse than a 5 MB kndx. :P )20:33
mwhudsonjam: haven't tried to be honest20:44
mwhudsonjam: maybe you can mirror them off people.ubuntu.com to start with?20:44
jammwhudson: well, the whole point is I don't want to have to go manually uploading my branches to launchpad20:53
jamif I wanted to do that, I would just push there directly20:54
jamI use "bzr register-branch" and then I can just forget about it from there forward20:54
mwhudsonjam: it should be fixed by the next rollout20:54
mwhudsoni guess we could bump up the timeout too20:55
=== cprov is now known as cprov-out
ig1morning all22:56
=== ig1 is now known as igc

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