/srv/irclogs.ubuntu.com/2009/12/21/#bzr.txt

* igc out for a few hours - bbl00:43
zekopeko__hi00:49
zekopeko__i was in here the other day with a truly messy bzr repo00:50
zekopeko__so i was wondering how could one clean said repo of cruft?00:50
bob2where cruft = unwanted branches?00:51
zekopeko__if by branches you mean revisions then yes00:51
bob2I don't00:51
zekopeko__there is like a complete git repo and binary files00:51
zekopeko__it's scary00:52
zekopeko__and it's some 300mb with anon bzr branch00:52
zekopeko__but the program is less when 1mb with icons00:52
zekopeko__*then00:52
zekopeko__could i take a good revision that is high and simply drop anything below that?00:53
zekopeko__btw the repo is here: https://code.launchpad.net/gloobus00:55
pooliezekopeko__: if it's really messy i'd just drop the history and re-import a snapshot of it01:06
pooliethen rename the old one to trunk-ol/d01:06
poolietrunk-old*01:06
zekopeko__i was thinking along those lines01:06
zekopeko__is there some guide or something that could help me? i never used bzr but hate seeing this cruft01:07
pooliei can look at the branch if you like but basically01:09
pooliewell,01:09
poolieactually, i should check first - is this your project?01:09
zekopeko__no01:10
zekopeko__but i have somebody that has commit access01:10
poolieok01:15
pooliehave you talked to somebody on the project about cleaning it upL01:15
pooliei don't mind helping you01:15
pooliebut it will be smoother if it's coordinated with others01:16
poolieanyhow, what i eventually suggest you do is01:16
poolieget a checkout of the branch01:16
DanRabbitpoolie: I'm on the Gloobus Project :)01:16
pooliethat was 101:16
poolie2- 'rm -r .bzr' to remove the old history01:16
poolie3- remove the junk01:16
poolie4- 'bzr init; bzr add; bzr ci -m snapshot' to start a new history01:17
poolie5- rename the old trunk on launchpad01:17
poolie6- push this new branch and make it the trunk01:17
zekopeko__you got that DanRabbit? :P01:17
DanRabbityep01:17
DanRabbit.bzr directory here is 88 MB01:18
DanRabbitlol01:18
pooliedoes that make sense?01:18
DanRabbitthat it's 88 MB? not to me01:18
DanRabbitwhat to do?01:18
DanRabbityep01:18
zekopeko__sweet, thanks poolie!01:21
DanRabbityes, thankyou poolie01:22
pooliehappy to help01:22
pooliehello spiv?01:22
spivpoolie: hi01:22
pooliejust saying hi really02:11
pooliegoing to close mail and start piloting in earnest soon02:11
spivpoolie: hooray for piloting :)02:21
spivpoolie: I'm busily replying to the deluge of review comments on the per-file merge patch02:21
spivpoolie: it's great to get so much thoughtful feedback on a patch from so many people, but also a bit overwhelming.02:21
spivpoolie: btw, I've been enjoying new progress reporting02:40
spivpoolie: it was a bit disconcerting at first because my eyes had been trained to expect to see the info about 30 columns further right than it is now02:41
spivpoolie: but now I've got used to that I've found I don't miss the bar at all02:41
=== timchen119 is now known as nasloc__
lifelesspoolie: what time would you like beer?03:06
mwhudsonjelmer: man, wtf?03:23
mwhudson(about codeplex)03:23
lifelessmwhudson: ECONTEXT03:24
mwhudsonlifeless: https://bugs.launchpad.net/bugs/49892503:25
ubottuUbuntu bug 498925 in bzr-svn "assert svn_revprops.has_key(properties.PROP_REVISION_DATE) can fail" [Low,Triaged]03:25
mwhudsonCodeplex has a custom subversion implementation (on top of Visual03:25
mwhudsonSourceSafe or something?) that is kinda dodgy and inconsistent.03:25
mwhudsonmy sense of order in the world didn't need to know about that03:25
lifelessah03:27
lifelessjust like google then ?03:27
KilrooJust for the record, I want to make it clear that I find it highly amusing that git and bzr can both take an existing subversion repository and push it to a new blank svn branch without needing shell access at either end, and svn itself apparently can't.03:30
Penglifeless: Google's svn implementation is dodgy?03:31
lifelessPeng: "non standard"03:31
PengOK. :)03:31
poolielifeless: say six?03:41
pooliespiv, that's good03:41
lifelesspoolie: ok03:51
mwhudsonlifeless, Peng: and a bit dodgy03:53
Peng:D03:56
PengAside from the odd responses to .bzr requests, and downtime, how is it dodgy?03:56
mwhudsonPeng: large cscvs imports never succeed03:57
mwhudsonbzr-svn seems to tickle the pain points much less03:57
PengOh. Maybe they subcontracted it to SourceForge. ;-)03:57
mwhudsonheh03:58
pooliespiv, would it be appropriate to raise NoSmartMedium if we can't connect to the smart server over http?04:22
poolieie we could potentially connect but we can't actually connect at this url04:22
spivpoolie: Off the top of my head I think so, yes.04:23
spivI04:24
poolieyes, it seems like it04:24
clausenwhen I do:04:33
clausenbzr info bzr+ssh://ClausenStrub@c-st.net/~/econ_bib.bzr04:33
clausenI getbzr: ERROR: Not a branch: "bzr+ssh://ClausenStrub@c-st.net/~/econ_bib.bzr/".04:34
clausenwhat does it mean?04:34
clausen$ ssh ClausenStrub@c-st.net ls -a "~/econ_bib.bzr"04:35
clausen.04:35
clausen..04:35
clausen.bzr04:35
spivclausen: it means you probably don't have bzr 2.1.0b3 or newer on the server04:36
spivclausen: which is needed for /~/ to work in bzr+ssh URLs04:36
clausenoh04:37
clausenthe client can't ask the server the version?04:37
spivclausen: try bzr+ssh://ClausenStrub@c-st.net/home/ClausenStrub/econ_bib.bzr/ (or whatever your home dir is)04:37
spivIt can, but that's not really the issue.  The meaning of '~' is very much dependent on the server.04:37
spivIt's not something that clients can calculate without help from the server.04:37
clausenanyway, it's a completely unhelpful message04:38
clausenit should say "file not found" or something04:38
clausenbut thanks for your help04:38
clausenI really appreciat eit04:38
spivYeah, that's true.04:38
clausenwe spent hours on it04:38
spiv"Not a branch" really should have more explanation about why in it.04:38
clausenyeah04:38
spivI'm fairly sure there's a bug about that somewhere.04:38
spivSorry to hear it cost you so much time!04:39
clausenis there an easy way to intercept the traffic?04:40
clausenit would have been helpful to see the data on the wire04:40
clausenwith git, I can wrap ssh04:40
clausenwhich I've found very helpful in the past04:40
spiv"bzr -Dhpss" is often helpful04:40
spivAs in, add -Dhpss to what ever bzr command you're running.04:40
spivIt logs a bunch of stuff about the smart server conversation to ~/.bzr.log04:40
spivI've also used strace occasionally to trap read/write calls, which is how bzr will be communicating with the ssh subprocess04:41
spivAnd you can change the SSH implementation bzr tries with the BZR_SSH environment variable (and there's a config setting too).04:42
clausenah, same as git then :)04:42
clausen(although it's not documented?)04:42
spivWhich SSH wrapper do you use for git?04:42
clausenI wrote a shell script that does "echo $*; ssh $*"04:43
clausenbut you could also use vee04:43
spivIt should be documented somewhere, 'bzr help configuration' for instance mentions BZR_SSH04:43
clausenbzr(1) doesn'04:43
clausenbzr help isn't searchable?04:44
spivHmm, that's odd, I wonder how the man page is generated.04:44
spivThere's 'bzr help topics', but all of that content is in the HTML docs too.04:44
clausenpython in general has poor documentation tools04:45
clausen(although I could just be ignorant)04:45
spive.g. http://doc.bazaar.canonical.com/bzr.2.0/en/user-reference/index.html#configuration-settings04:45
clausenR has a similar philosophy, but seems to work better04:46
clausen(eg: help.search())04:46
clausenhow did you navigate to that page?04:46
clausenah, you clicked on User Reference04:47
clausenI guess I was expecting that to be many pages, and hence not searchable04:47
clausengood to know :)04:47
spivclausen: there's a pretty functional search box at http://doc.bazaar.canonical.com/bzr.2.0/en/ too04:48
clausenbut it searches the whole site!04:48
clausenyou get the same result for many versions of the same document04:49
clausenactually, I'm wrong about that04:49
clausenit's doing something else04:49
clausenanyway, searching "ssh" didn't find it04:49
clausen(item number 33, actually)04:50
clausenI guess the thing that's nice about man pages is you can search for "ENVIRONMENT"04:50
clausenand you have a complete list04:50
spivYeah, I don't know why the man page has an incomplete list.04:51
spiv'bzr help environment' ought to be up to date.04:51
clausenok, I'll submit a bug on that then :)04:51
spiv(And ought to be what the man page uses for that section)04:51
spivclausen: thanks :)04:51
clausen$ bzr help environment04:51
clausenbzr: ERROR: No help could be found for 'environment'. Please use 'bzr help topics' to obtain a list of topics.04:51
clausenyou mentioned "configuration" before?04:52
spivOh, 'env-variables' is the topic name.04:52
clausenit includes BZR_SSH04:52
spivYeah, that's a help topic too, but 'bzr help env-variables' is specifically just the environment variables.  'configuration' is a broader topic than just the environment variables, unsurprisingly :)04:52
clausenis there a URL where i can browse the bzr source?04:53
clausen(it's ironic that I can't find it!)04:53
spivThere's a link on code.launchpad.net/bzr04:54
clausenthanks04:54
clausenit's hard-coded!05:00
clausenhttp://bazaar.launchpad.net/~bzr-pqm/bzr/2.1/annotate/head%3A/bzrlib/doc_generate/autodoc_man.py05:00
clausenno wonder it's unsynchronized05:00
clausenthe "bzr help env-variables" command is also hard-coded05:05
clausenin _env_variables, which is defined in bzrlib/help_topics/__init__.py05:05
clausenI must confess, I'm kind of freaking out about this05:06
clausenbzr doesn't seem to have the rigour and elegance of a solid system05:06
clausen(but, I suppose it will get better)05:06
spivWell, env-variables is as close to the canonical version as we have.05:09
pooliethat's a bit of a bug in that page05:09
poolieit should just use the help topic05:09
spivRight.05:10
pooliei'll file it05:10
pooliehttps://bugs.edge.launchpad.net/bzr/+bug/49895205:13
ubottuUbuntu bug 498952 in bzr "autodoc_man.py should use env-variables, not duplicate it" [Medium,Confirmed]05:13
clausen$ bzr info blah05:15
clausenbzr: ERROR: Not a branch: "/home/clausen/free-software/bzr/blah/".05:15
clausen^ should say "path not found"05:15
spivYes.05:15
spiv"Not a branch" is techinically correct, but not as helpful as it could be.05:16
clausenagreed05:16
lifelessnote that a missing parent dir doesn't imply not a branch, it could be a missing plugin (e.g. bzr-svn)05:19
clausenlifeless, of course, but the error message should explain05:19
clausenlifeless, i.e. there should be different error messages for different reasons05:19
lifelessclausen: also we search upwards05:19
clausenI suppose the kosher way to do this would be to subclass errors.NotBranchError05:20
lifelessI agree it could be improved, but I don't think its as shallow as perhaps you think it is05:20
clausenand have things such as errors.NotBranchError.NoPlugin05:20
clausenerrors.NotBranchError.NoPath05:20
clausenetc.05:20
spivclausen: hmm, I think actually just providing an extra string when instantiating NotBranchError05:20
lifelessa typical branch lookup will catch 5 or 6 NotBranchError05:20
clausenspiv, could be05:20
lifelesswhich one is shown to the user will influence the ui05:20
spivclausen: (or the exception that lead to it, and have some common code to turn that into a string)05:20
lifelessit doesn't currently.05:20
clausenspiv, I suppose the question is: would anyone ever need to catch a special type of exceeption?05:20
clausenspiv, I guess not05:21
spivclausen: right05:21
lifelessNoPlugin woul be a prove-a-negative case.05:21
clausenlifeless, yeah, I noticed that a lot of these exceptions are getting caught05:21
spivIt's more providing an extra hint to the user, not a definitive diagnosis: e.g. 'Not a branch: "/foo/barr/baz/qux".  ("/foo/barr" does not exist)' would most of the time tell you what you wanted to know05:22
spiv(although actually that particular case would be unlikely to have that much information without doing extra probing)05:23
clausen(it would certainly have helped me!)05:24
clausen(eg: I didn't know if I needed to point at .bzr)05:25
clausenanyway, you've been very helpful05:30
clausenthanks a lot!05:30
clausensleep time!05:30
clausenbye!05:30
clausenoh, nobody filed the bug yet... I guess I should before I go to sleep05:31
clausenah, it's #5286505:34
clausenhttps://bugs.launchpad.net/bzr/+bug/5286505:34
ubottuUbuntu bug 52865 in bzr ""Not a branch" errors could be better when branch is missing." [Wishlist,Confirmed]05:34
pooliespiv, is https://bugs.edge.launchpad.net/bzr/+bug/410332 like something you fixed recently? maybe a dupe?06:11
ubottuUbuntu bug 410332 in bzr "accessing a bzr:// branch with a revisionspec causes bzr to crash" [Medium,Confirmed]06:11
spivpoolie: hmm, maybe06:15
spivpoolie: I'll try to reproduce quickly06:15
spivpoolie: ah, yep, still current, but a bit obscure06:23
spivpoolie: oh, oops, sorry, it is fixed :)06:24
pooliefail! no, win!06:27
poolie:)06:27
gourjelmer: morning, i opened a ticket for my yesterday's 'bzr dpush to github' problem - https://bugs.launchpad.net/bzr-git/+bug/49896207:01
ubottuUbuntu bug 498962 in bzr-git "KeyError(sha)" [Undecided,New]07:01
AdysIs it possible to remember two different pushes?08:24
AdysEg every time I push, it pushes to both my own branch somewhere, and to a lp: branch08:24
spivAdys: you can probably use the automirror plugin to do something like that.08:25
spivI don't think there's anything builtin though.08:25
Adysmm kay08:26
AdysI'll be lazy then :)08:27
lifelessAdys: spiv: bookmarks plugin10:46
lifelessmight be close-enough10:47
AdysMeh, as i said I'll be lazy, was hoping for a quick&dirty command, its a temporary lp branch10:47
=== salgado is now known as salgado-afk
bialixhello all13:34
rubbshello bialix.13:35
bialixhi rubbs13:35
rubbshow are you today?13:36
bialixthere is cold today13:40
bialixhope you're better13:41
rubbsIt's cold here too. getting snowy as well.13:49
rubbsbut I"m pretty good other than that13:49
bialixthat's fine :-)13:54
=== salgado-afk is now known as salgado
nilghi, I'd like to revert undo a revision at some point in the past (10 revisions away from the current one), apparently the command would be:14:33
nilgbzr . merge -1014:33
nilgis that correct?14:33
nilg(I'm scared to make a mistake...)14:33
nilgor is it the number of the revision, like14:34
nilgbzr . merge -382614:34
nilg?14:34
rubbsAn possibly easier way to think about it (more steps but easier to understand) is this:14:35
rubbsbzr branch project -r 3826 ./projectUndo14:35
rubbsthen14:35
rubbsbzr merge projectUndo14:36
rubbsI think that's correct... you may want to back things up just in case14:36
james_wthat will say "nothing to do"14:37
james_wyou want "bzr merge . -10..-11"14:37
james_wmerge the changes between the revision and the one before it14:38
james_wi.e. undo those changes14:38
james_w"bzr merge . -r -10..-11" of course14:38
rubbsah, thanks james_w. I haven't had to do it myself. Thanks for the correction14:39
nilgjames_w, the right command for me was "bzr merge . -r -11..-12", thanks!14:43
Solipsisti just installed bzr and qt on mac but i cant find out where bazaar explorer and qbzr are installed14:45
bialixSolipsist: run `bzr plugins`14:50
=== salgado is now known as salgado-lunch
Solipsistnow that was totally obvious :)14:52
Solipsistbzr: ERROR: [Errno 2] No such file or directory: '/Users/username/.bazaar/explorer'14:52
bialixSolipsist: what is explorer version?14:53
bialixI think this bug was fixed14:53
Solipsistversion is 0.9.015:00
Solipsistgot it running15:07
Solipsista note from a new user: bzr is supposedly easier to use than git, my experience so far has been the opposite15:08
Solipsistso im cloning a remote repos as id like to work distributed, pushing changes from my local repos back to the remote is "bzr push", right? local commits "bzr commit"?15:10
jelmer_Solipsist: yep15:13
rubbsSolipsist: as a member of doc team, I'm interested in the problems you had with bzr. Maybe I can get our team to address holes in the documentation15:15
Solipsistrubbs: the first roadblock i encountered was to figure out how to run bzr explorer, as it was mentioned nowhere, even after extensive googling15:17
Solipsisti tried using spotlight in osx to locate it or qbzr, no luck15:17
rubbsSolipsist: I'll be sure to raise that issue up. We have had a few requests on better plugin documentation.15:18
Solipsista very concise guide for those of use new to bzr would be appreciated, i dont need a GUI but after having used git with gitx, ive come to find them extremely useful when looking through commits15:18
Solipsistits not the plugin itself but "now that's bzr is installed, what do i do? where did all these applications go?"15:19
bialixSolipsist: you've mixed package problems with ease of use the tool itself15:19
Solipsistthe mac os x package needs better documentation15:19
bialixwhere explorer is the question to the maintainers of Mac installer15:19
rubbsSolipsist: I'll have the mac people look into making it easier to get started from install.15:20
bialixwindows installer already provides the user with start menu item, desktop icon and quick launch item15:20
Solipsistif this page explained what the package contained and how to launch and use each plugin it would have made things easier: http://wiki.bazaar.canonical.com/MacOSXDownloads15:20
Solipsistrubbs: awesome!15:21
rubbsThe leader of the Doc team is also the main dev for Explorer, so I'll see what I can do to help him understand the problem. He's a good guy and easy to work with.15:22
rubbsMy suggestion is to actually raise a bug on launchpad and tag it with "doc." you can give a very brief description of the problem you had and we'll work hard to change that experience15:23
=== zekopeko_ is now known as zekopeko__
glenhmm, why is bzr giving me such weird error: $ bzr mv 01_notes.php  01_notes.sql15:53
glenbzr: ERROR: Could not move 01_notes.php => 01_notes.sql: UPGRADE/patches is not versioned.15:53
glenbzr log 01_notes.php shows it's revision log, meaning it is versioned15:53
rubbsglen: not sure what's going on there, but you can as a work around do a system mv first and then use the same command you were getting the error on.15:54
rubbsso do : $ mv 01_notes.php 01_notes.sql15:55
rubbsthen do : $ bzr mv 01_notes.php  01_notes.sql15:55
rubbsthat will cause bzr to see that 01.notes.php doesn't exist, and there is a new file called 01_notes.sql. It assumes you moved it and updates the versioning accordingly15:56
=== menesis1 is now known as menesis
glennow even worse:15:56
glen$ bzr mv 01_notes.php 01_notes.sql15:56
glenbzr: ERROR: Could not rename 01_notes.php => 01_notes.sql: Path(s) do not exist: upgrade/patches/01_notes.php UPGRADE/patches/01_notes.sql15:56
glenwhat the heck it capializes the path component named "upgrade" ?15:57
glen$ bzr st15:58
glenremoved:15:58
glen  upgrade/patches/01_notes.php15:58
glenunknown:15:58
glen  upgrade/patches/01_notes.sql15:58
glensays it15:58
glenafter the last action15:58
glenbzr-0:1.18-2.x86_64 is the version15:58
rubbsany possibility of updating to 2.0?15:58
gleni cloned: bzr clone lp:eventum, and the mv i want to do in upgrade/patches15:59
glenok, trying to upgrade16:00
rubbsHmm.. not sure what's going on here. I'm just a user, but the devs check this channel frequently, so just sit tight. someone should be able to help you better16:00
=== salgado-lunch is now known as salgado
rubbsok, cool16:00
rubbsI can help more with the 2.0 series. (only a little more mind you).16:00
glenany clues is 2.0 having some different dependencies of external packages?16:01
rubbsnot sure.16:02
rubbswhat type of system are you on?16:02
glenlinux16:02
rubbsubuntu?16:02
glenpld linux16:03
glen32bit/64bit behave the same, if that's any matter16:04
gleni just suspect "upgrade" has some special meaning somewhere16:04
gleni.e the mv command works ok elsewhere16:05
rubbscould be16:05
glen $ bzr mv xmlrpc_client.php xmlrpc_client.sql16:05
glenmisc/xmlrpc_client.php => misc/xmlrpc_client.sql16:05
rubbsI'm wondering if someone did something in Windows, and the case insensitivity is causing problems16:05
glencan you test with your bzr?16:05
rubbssure just a sec.16:05
glenanyway, 2.0.3 behaves the same way :(16:06
glenmaybe this is (also) the reason:16:07
glen$ l upgrade UPGRADE -d16:07
glendrwxr-xr-x 24 glen glen 4.0K 2009-12-21 17:49 upgrade/16:07
glen-rw-r--r--  1 glen glen 8.1K 2009-12-03 11:49 UPGRADE16:07
gleni.e the repository has lowercase and uppercase objects present16:07
rubbsweird...16:08
rubbsclone is taking a while. so I haven't tried it yet. but it's getting there16:08
=== weigon__ is now known as weigon
glenanyway, getting rid of the uppercased file "UPGRADE" in root "solved" the problem here16:10
rubbsok cool. I'm still going to test it to see what's going on16:11
glenit's solved for me, likely bugreport should be filed, but i'm lazy this time so won't go trought the hassle of registering accounts for bugreporting etc16:13
rubbsI'll go ahead and file one for you. I can reproduce the result16:14
glennice16:15
glenif need some reference, then my commit is: http://bazaar.launchpad.net/~eventum-developers/eventum/trunk/revision/401216:15
rubbsthanks. I might put that in there.16:16
rubbsglen: finally got around to submitting that bug and found that someone already has put one up: https://bugs.launchpad.net/bzr/+bug/36893116:30
ubottuUbuntu bug 368931 in bzr "Rename may fail when file and directory have the same name differing by case" [High,Confirmed]16:30
gleni see16:33
onoxcan I put multiple bug numbers in --fixes?16:40
james_wyou can pass --fixes as many times as you like16:41
onoxthx16:41
james_wcommit --fixes foo:1234 --fixes foo:2345 --fixes bar:456716:41
=== deryck is now known as deryck[lunch]
chmacCan I reassign existing revisions to a new person? I've changed my whoami to match launchpad...17:33
chmacI was using chm@buna as my email, which is not valid, so I can't validate that address on launchpad to link those revisions to me17:33
jelmer_chmac: Not without redoing the commits17:46
chmacjelmer_: Ok, thanks17:47
=== beuno is now known as beuno-lunch
=== deryck[lunch] is now known as deryck
Takyeah, I had the same issue as chmac19:08
chmacTak: Did you find a reasonable solution? It's only 10 or so commits that are not attributed to me on launchpad, so it really isn't a big issue for my case.19:09
Takno, I never did19:09
=== beuno-lunch is now known as beuno
phinzejam: ping from iowa city19:55
jamhey phinze19:55
jamkeeping warm ?19:55
phinzeour radiators ensure that we're always either sweating or freezing, yes :)19:56
phinzei was wondering if you had a moment to walk me through a particularly tricky (but relatively small) bzr dance19:56
rubbsIowa City? I'm originally from Decorah.19:57
phinzerubbs: i'm a transplant, but i bet there are several in my office who would enjoy that... will pass along19:58
phinzejam: msging you19:58
chmacIs there a faster way to download a branch than just straight `bzr branch lp:wordpress/trunk`? It's taking an age to download all the history.20:10
chmacI considered a lightweight checkout, but I'm going to commit back to a different branch, so I don't think that would work.20:10
chmacI guess it's the price I have to pay the first time to get all the history... :-)20:11
rubbschmac: if you haven't downloaded it before, then not really... You could try bzr+ssh:// but it requires you to have an account and to have set up keys20:11
beunochmac, if you have your launchpad-login specified you will use the20:11
beuno"smart server"20:11
beunowhich should be faster20:11
chmacI've run launchpad-login already, so it might be using the smart server already...20:12
jamchmac: you may also be running into auto-conversion issues.20:12
chmacI'm online in Mexico City, it's not the fastest connection ever... :-)20:12
jamIt looks like wordpress is in --pack-0.9220:12
jamif you have 2a locally, it will convert on the fly20:12
jamwhich could be slow20:12
chmacjam: I think my bottleneck is the download speed, I'm seeing 20-40kbs...20:13
jamit is a ~50-60MB download20:13
jamJudging by http://bazaar.launchpad.net/~vcs-imports/wordpress/trunk/.bzr/repository/packs/20:13
jamI would expect it to be smaller in --2a, if/when it gets converted20:13
beunojam, I though we where going to convert all imports to 2a?20:14
beunomwhudson, did that ever happen?  &20:14
beuno^20:14
mwhudsonbeuno: no, not yet20:14
beunomwhudson, is it still on the roadmap?20:15
mwhudsonbeuno: yes, but in a pretty sparsely populated area of the map i guess20:16
beunoheh, ok20:16
mwhudsonbeuno: i just added it to https://dev.launchpad.net/CodeTeam#Code%20imports fwiw20:16
beunomwhudson, thanks20:17
amroI'm having trouble breaking a lock, I tried the provided command and a few variations with no luck (http://amro.pastey.net/130496)20:17
beunoamro, try: bzr break-lock bzr+ssh://sigrie/home/sigrie/projects/xflight/20:18
amrobeuno: that worked, thanks. I thought I tried that20:20
amrowhat's up with the line provided by bzr? usually it's correct20:21
=== chmac is now known as chmac_away
beunoamro, there are some cases where it doesn't work well, I fail to remember in which ones  :)20:21
beunowhat version of zbr are you using?20:21
beunoand both server and client20:21
amro2.0.0, repo is 2.0a I think20:22
amrosomething like that20:22
beunoon both sides?20:22
=== salgado is now known as salgado-afk
AdysRepo is 2.0a yeha20:25
jamchmac_away, beuno, mwhudson: wordpress does shrink to 20MB after 2a packing...20:25
Adysthat said, how do i upgrade from branch format 6 to branch format 7?20:26
jamAdys: 'bzr upgrade'20:32
jamor 'bzr upgrade branch'20:32
jamas fmt 7 is the latest format20:32
Adyscheers20:39
halstead|wcclsI have a repository which after 400 revisions had a huge amount of unneeded binary data committed into by accident. Another 20 or so commits have happened over that last few months before anyone noticed. What's the best way to excise the binary files without losing our rich revision history?20:40
beunohalstead|wccls, you would have to rewrite history20:41
beunothere's a plugin calles bzr-rewrite (IIRC)20:42
beuno*called20:42
beunonot sure how to use it20:42
beunoand, you need to know that you will break compatibility with all existing branches20:42
halstead|wcclsI'll search on those terms. Thats for the lead. I thought maybe I could start a new branch and pull the first 400 revisions and then layer ont he later changes somehow without pull everything in.20:42
halstead|wcclsThank you for the lead.20:43
beunohalstead|wccls, you can also branch from the last good revision20:44
halstead|wcclsBraking compatibility with existing branches is not a problem for us. All our contributers can make a fresh branch.20:44
beunoand merge in the good revisions20:45
beunowill make history look wonky20:45
halstead|wcclsbeuno, I will try that.20:46
phinzebeuno: (lurking for learning) would there be a way to "replay" the revisions rather than merging them all with one revision?20:46
phinzea la 'bzr pull' would tack them onto the end?20:46
beunophinze, well, I'm sure there is a way, but I don't know how I would do it20:46
beunojam, is the expert on rewriting history  :)20:47
phinzeindeed, he saved the day for me once again today20:47
phinzei believe bzr-rebase would be the tool that could do it, but how to use it, i know not20:49
phinzeso bzr branch -r$REVISION_BEFORE_BINARIES trunk trunk_sans_bin20:50
phinzecd trunk_sans_bin; bzr merge ../trunk -r$REVISION_AFTER_BINARIES..20:50
phinzebzr rebase --pending-merges20:50
phinzei _think_ that might do it20:50
phinze--pending-merges "Rebase pending merges onto local branch."20:51
beunothat sounds about right, yes20:51
halstead|wcclsThank you.20:51
phinzehalstead|wccls: np -- a bit of the blind leading the blind :) but i hope it works for you20:52
beunohalstead|wccls, http://doc.bazaar.canonical.com/plugins/en/rebase-plugin.html20:53
pooliehello jam21:10
=== poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ | Patch pilot: mbp | bzr 2.1.0b4 and 2.0.3 released
jamhey poolie21:12
jambeuno, phinze: replay is probably what you want, but jelmer is the expert21:12
poolieshall we talk?21:13
halstead|wcclsphinze, What effect is the double dot at the end having? bzr merge ../trunk -r$REVISION_AFTER_BINARIES..21:13
jamsure21:13
poolieskype/pots?21:14
jampots is always easier for me, but i've got skype, too21:14
phinzehalstead|wccls: it means "$REVISION_AFTER_BINARIES and every revision thereafter"21:14
pooliek21:15
pooliejam: strace yes|sleep 6021:20
=== chmac_away is now known as chmac
chmacjam: Not sure what conversion to 2a means. From what you said I'm thinking that it'll happen automatically at some point... :-)21:49
chmacPlus, the new branch I request 2.9 will have a lot less history than trunk, so that'll be quicker21:49
spivchmac: 2a is the current repository format, it became the default in bzr 2.0.  "bzr upgrade" will upgrade an existing repo to it.21:52
chmacspiv: Ok, so I could upgrade repos I've created myself. lp:wordpress/2.9 is an auto-imported repo so I'm guessing I can't modify it any more, or can i?21:53
chmachttps://code.launchpad.net/~chmac/wordpress/2.921:53
chmacIf I rename the repo, or assign it to a team instead of me, will the import process continue to work?21:56
chmacI noticed some other auto imported branches are ~vsimports/blah21:56
spivchmac: I think you can file a request (at https://answers.launchpad.net/launchpad) to get the import upgraded\21:57
chmacI think it makes sense for the branch to be owned by a generic user rather than me, it's the wordpress/branches/2.9 release rather than my own version of it, my own version will be based off it21:57
spivchmac: ^ mwhudson21:57
chmacI love the responsiveness of people on this channel, launchpad has a very human feel to it... :-)21:57
=== khmarbaise_ is now known as khmarbaise
chmacOh, I'm on the wrong channel, DOH!22:06
chmacSweet, just updated bzr thanks to https://launchpad.net/~bzr/+archive/ppa22:15
mwhudsonspiv, chmac: hmm?22:18
spivmwhudson: see #launchpad, looks like intellectronica has taken care of things22:37
mwhudsonspiv: ah, ok22:38
chmacOh, yeah, sorry, I didn't follow up on that, intellectronica did indeed take care of it for me :-)22:38
chmacI ran `bzr branch lp:~vcs-imports/wordpress/2.9 wp29` then `bzr rm wp29/wp-includes/js/tinymce/` then `bzr commit -m "blah"`, it gave me the next available revision number22:39
chmacThat might get confusing when a new commit comes into 2.9 as the numbers might be the same22:39
chmacIs that the way things are supposed to work, my version number will only apply to my branch, or is there an alternative I'm missing?22:40
chmacCan I specify my own version numbers as rchmac-1 or something?22:40
jamchmac: revision *numbers* are a branch local number22:44
chmacjam: Ok, so I can ignore it, the numbers might be the same but that doesn't matter, is that correct?22:44
jamchmac: right22:47
chmacjam: Ok, thanks :-)22:47
jamnumbers are a useful shortcut in the context of a branch22:47
jamso you can say "did you get rev 10 of my branch", and someone can see that they are only at 822:48
jametc22:48
jaminternally we have unique revision-ids22:48
jambut they don't have obvious ordinal semantics22:48
jam(bzr log --show-ids if you want the details)22:48
chmacOk, they're specific to the branch. I've seen the long gnarly revision ids, I'm guessing they're the globally unique id22:48
jamyep22:48
chmacCan I safely `cp -r branch1 branch2` and then work on them separately?22:50
chmacI tried `bzr branch branch1 branch2`, then branch2 shows its parent as branch1, which is accurate. I really want to branch from lp but safe myself downloading it all again... :-)22:51
jamchmac: create a shared repository22:51
jambzr init-repo .22:51
jambzr reconfigured --use-shared branch122:51
jamthen all branches created underneath the repo22:51
jamwill share the storage22:51
jamand you won't redownload everything22:51
jamsorry'22:52
jam'bzr reconfigure ...'22:52
chmacjam: Ok, I'll read up on those, sounds like what I want, thanks22:52
blueyedI had local commits, which apparently got reverted when I wanted to revert the conflicts from "bzr up" (which I've thought would have been a "bzr merge"). Any chance to get those internal merge back from the internals of bzr?23:14
bob2bzr heads23:15
chmacbzr push --stacked-on=lp:~vcs-imports/wordpress/2.9 bzr+ssh://chmac@bazaar.launchpad.net/~wpflavours/wordpress/wpflavour-no-visual-editor23:15
chmacbzr: ERROR: Not a branch: "/home/chm/W/Code/wpflavours/wpflavour-no-visual-editor/lp:~vcs-imports/wordpress/2.9/".23:15
bob2bound branches can be awkward23:15
bob2especially if you forget to commit before bzr up23:16
chmacAm I overcomplicating maybe? Can I just `bzr push lp:~wpflavours/wordpress/wpflavour-no-visual-editor` and bzr will know that the code came from lp:~vcs-imports/wordpress/2.9 originally?23:16
spivchmac: I think you need to give the full bzr+ssh URL instead of lp: to --stacked-on23:17
chmacspiv: Oh crap, I expanded the lp: in the wrong part of the command, DOH!23:17
blueyedbob2: thanks so far.. have found a revision-id.. how can I apply this back now?23:18
chmacspiv: Thanks, I'll try that, that's what I meant to do23:18
bob2blueyed: first, back up everything so you don't lose what you have23:18
chmacTook me long enough to figure out what lp: expanded to, then I put it in the wrong place!23:18
bob2blueyed: then 'bzr branch -r revid:afdsdfasdfggsfg@rftwertert-243241234 . ../recovered'23:20
chmacspiv: Looks like it's working, thanks :-)23:22
lifelessbob2: 'bzr merge . -r revid:revid:afdsdfasdfggsfg@rftwertert-243241234' is easier23:23
bob2hm23:24
blueyedthis is f*cking b0rked.. I'm getting blogs.moved.moved etc.. also when trying to merge the dead parent.23:26
blueyedwill have to resolve this by hand I fear.23:26
blueyedthis probably conflicts so much again, since I'm merging into a branch, where I had local changes made (and cherrypicked from), but the parent's ancestor had been changed.23:27
blueyedCan I forbid bzr-svn to kick in when I only want to add a symlink (which points at at directory with .svn in it)?23:29
lifelessblueyed: to add a symlink just run 'bzr add', not 'bzr add symlink'23:30
blueyedlifeless: but I do not want to add all that .moved stuff..23:30
lifelessblueyed: so clean it up first23:31
blueyedok, but the workaround does work.. will do add "add $DIR" then revert.23:31
spivblueyed: you can pass --no-recurse to add23:40

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