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

spivGar, gnome-terminal just crashed.00:20
lifelessspiv: uxterm FTW00:21
=== mw is now known as mw|out
mneptokTerminator treats me right.01:09
mneptokbut then, terminal emulator religious wars have nearly as many victims as text editor conflicts.01:09
fullermdYeah.  I mean, what's with all you freaks who don't just use xterm?   :p01:10
mneptokwhat's the "x" for?01:10
mneptok:P01:10
fullermdA beginning.  Obviously   :)01:11
mneptokhow linear. how pedestrian. ;)01:12
fullermdWell, I don't own a bicycle, so...01:13
lifelessterminator is nice01:13
lifelessit needs less gnome widget embedding love though01:13
sevenseeke1I installed bzr via easy_install (1.8), when I try to branch (even with bzr itself -> bzr branch lp:bzr) I get: bzr: ERROR: Connection closed: please check connectivity and permissions (and try -Dhpss if further diagnosis is required)01:29
sevenseeke1HPSS calls: 1 <bzrlib.smart.medium.SmartSSHClientMedium object at 0x85d7f2c>01:29
sevenseeke1my ~/.bazaar/bazaar.conf only contains my launchpad name01:31
=== sevenseeke1 is now known as sevenseeker_
lifelesssevenseeker_: try an http url01:32
lifelesssevenseeker_: like http://bazaar-vcs.org/bzr/bzr.dev01:33
spivsevenseeker_: do you get "Permission denied (publickey)" as well?01:33
sevenseeker_hmmm, no I don't01:34
sevenseeker_although it is going veeeeery sloooooow01:35
lifelesssevenseeker_: ok, if http is working and lp: isn't01:37
lifelesssevenseeker_: then https:// is probably firewalled on your machine/network01:37
sevenseeker_hmmm, this is new01:37
lifelesssevenseeker_: (or ssh: is firewalled, if you have done bzr lp-login)01:37
sevenseeker_I wonder if something updated that interferred01:38
sevenseeker_I greatly appreciate the help01:38
sevenseeker_ok, I checked with some https sites and I connect fine (through the web that is)01:40
sevenseeker_netstat -l isn't showing anything that I am aware of that would interfere either01:41
lifelesssevenseeker_: try 'ssh bazaar.launchpad.net'01:42
lifelesssevenseeker_: if that gives a network error (rather than an authorisation error) then you have a networking issue01:42
sevenseeker_just 'Permission denied (publickey).'01:42
lifelessok01:42
lifelessyour network is fine01:43
lifelessnow try ssh LPUSERNAME@bazaar.launchpad.net01:43
sevenseeker_same thing01:44
lifelessok01:44
lifelessyou haven't told lp your ssh key :>01:44
spivlifeless: "ssh `bzr launchpad-login`@bazaar.launchpad.net" ;)01:44
sevenseeker_must have done that with another 'puter, I hope that is all it is :)01:44
spivFWIW, I just bumped up the importance of https://bugs.launchpad.net/bzr/+bug/238776, which is the bug about how bzr's error messages in this case aren't as helpful as they could be.01:45
ubottuLaunchpad bug 238776 in bzr "Confusing error message if ssh login fails while using lp url" [High,Confirmed]01:45
sevenseeker_cool, thank you... registering now01:46
=== spiv_ is now known as spiv
fullermdpoolie_: I understood that a lot of bzr ops did things in a staging dir under .bzr/ and then rename()'d over into the final location (which would fail hard across file systems)02:54
lifelessfullermd: splitting .bzr/ over mounts is not supported in any way02:59
fullermdI mean to/from the WT.02:59
lifelessfullermd: splitting a tree over mounts will also fail with tree transform which does lots of mv's02:59
lifelessbecause it writes to .bzr/checkout/limbo and mv's from there02:59
fullermdYeah, 's what I thought.03:00
fullermd(re bug 286268)03:00
ubottuLaunchpad bug 286268 in bzr "bzr commit removes files from unmounted folders" [Undecided,Invalid] https://launchpad.net/bugs/28626803:00
lifelessbut perhaps mv on some platforms will work cross fs03:00
lifelessby copying and rming03:00
kingfishrIf I'm working with a partner, and he's branched the project and made changes, then to get those changes _I_ need to merge?03:06
kingfishri.e. am I correct in saying that to work in the method, both people need ftp/ssh/.../ access to the other's computer?03:07
kingfishrs/the method/this method/03:07
fullermdWell, both people would need access to the other's branch.03:07
kingfishrright03:08
fullermdThat could as easily be a copy of your branch you push somewhere "as often as necessary", as your local copy of the branch.03:08
kingfishrfullermd, I don't follow you03:08
fullermdWell, I could give you access to my system, and you could "bzr merge bzr+ssh://fullermd/home/fullermd/whatever"03:09
kingfishris there a way for him to push his changes to me instead of me merging with him?03:09
fullermdOr I could push a copy of my branch up to somewebserver, and you could "bzr merge http://somewebserver/whatever", or any other step around.03:09
fullermdIf you gave him write access he could push over your branch.  That's usually not as good an idea for various reasons.03:10
fullermdHe could as above plunk a copy of his branch somewhere public03:10
fullermdHe could use 'bzr send' to email you a bundle of his changes which you could merge from as if it were a branch.03:10
kingfishrhmm03:10
lifelesskingfishr: there are three ways he can give you his content:03:11
lifeless - he can mail you a bundle03:11
fullermdDepends on details of how you want to work and where the two of you can "meet up" logically.03:11
lifeless - he can put them in a branch you can access (e.g. on http, or on launchpad, or on an NFS share somewhere, or on your machine somewhere)03:11
lifeless - he can push them directly into a common branch (which requires a common branch you can both write to, just like cvs/svn)03:12
* lamont wonders when bzr_1.8-1~$mumble will be available03:13
lamontditto for bzrtools>1.7.0-103:13
lamontreferring, of course, to https://edge.launchpad.net/~bzr/+archive03:13
lamonts/edge.//03:13
lamontstupid edge urls03:13
lifelesslamont: poolie is working on it03:13
lamontcool03:13
lamontonce it's there, I have a dance card to fill03:14
kingfishrlet me give you more context: I'm working right next to a guy on a project, we're both making changes, and so far he's been merging changes from me via ftp. Now I need his changes. He'd have to set up a new user on ssh or something for me to merge his changes.03:14
kingfishrBasically, what's the easiest way for me to get his changes, if we're both feeling lazy?03:14
fullermdWell, you've given him ftp access.  Let him give you ftp access.03:15
fullermd(or ssh, better; any opportunity to stamp out FTP is a good opportunity...)03:15
lifelesskingfishr: 'bzr serve' in the directory he is working on03:15
lifelesskingfishr: then 'bzr browse' followed by 'bzr merge <reported url>'03:15
lifelesskingfishr: assuming you both have bzr-avahi installed03:15
lifelesskingfishr: without bzr-avahi, its03:15
lifeless'bzr serve'03:16
lifelesswhich reports a ip and url03:16
lifelessthen 'bzr merge bzr://his-ip/'03:16
kingfishrlifeless, awesome03:19
lifelessfullermd: never forget adhocing :>03:20
kingfishrfullermd, yes, normally I'd use ssh over ftp but I already had an ftp server set up with correct permissions...again, being lazy03:20
fullermdI tend to, because I never do it   :p03:33
fullermdThink the only time I ever used 'bzr serve' was in a bug filing...03:34
lifelessfullermd: use bzr+ssh ?03:34
poolie_ah, lifeless is probably right about tree transforms03:40
poolie_it's arguably a bug if we don't fall back to copy&delete03:41
fullermdI don't mean the SS, I mean "bzr serve" itself directly.03:42
lifelesspoolie_: well, arguably. OTOH its not exactly a common use case03:42
poolie_right03:43
fullermdThe atomic link()'ing has the advantage that there can't be any half-formed files polluting the working tree.04:19
fullermd(of course, the files can still be out of sync with each other, so whether that increment really matters is somewhat questionable)04:19
poolie_1.8 is in the ppa now04:39
=== poolie_ is now known as poolie
abpendNot sure if anyone is around...05:21
abpendBut with the standalone bzr installer on windows, are bzr+ssh checkouts supposed to work out-of-box?05:22
abpendOr does something special need to be done?05:22
spivabpend: They should work, I believe.05:36
spivabpend: although it may depend on you having a working SSH client already installed?05:36
lifelesspoolie: Do you want to talk today?06:33
poolieabpend, spiv, it's meant to work without it06:34
poolielifeless: only if you want to06:34
lifelesspoolie: briefly would be good06:34
poolieand i suppose you want a cooperative attitude too?06:34
poolie:)06:34
lifelessgnight all06:52
poolienight!06:52
vilahi all07:14
* fullermd waves at vila.07:21
* vila waves back !07:34
spivgnome-terminal has crashed for the second time today.07:49
spivNot happy.07:49
* gour uses urxvt07:50
AfCReally?07:50
* AfC hasn't had gnome-terminal crash in years and years.07:50
fullermdHey, no fair!  We already had the your-terminal-emulator-sucks discussion earlier on!07:50
fullermdYou can't double-dip.07:50
gourtoday?07:51
fullermdLess than 7 hours ago.07:51
gourahh, that's almost yesterday here ;)07:51
luks02:50 < fullermd> Hey, no fair!  We already had the your-terminal-emulator-sucks discussion earlier on!07:51
luksoops, sorry07:53
spivFor bonus points, I also had X crash today.07:54
fullermdHas bzr eaten any of your repositories?07:54
spivNope.07:55
* gour is learning python (reading DIP book) and wrapping his head around python's 'and-or trick'07:55
spivbzr has given some scary errors that superficially looked like repo corruption on the repo my wife keeps her PhD thesis in, though.07:56
spivBut that's as close as it's got.07:56
fullermdWell, just replace X and your terminal with bzr then!  With that easily-extensible architecture, you should be able to bang up a plugin in no time flat!07:56
spivfullermd: bzr vte?  Scary thought.07:57
fullermdWell, it'll take 10 times as long to start up as gnome-terminal, but it'll only be 3x slower once it's running.  And the UI will be nicer.07:57
* fullermd . o O ( bzr -geometry 80x25-58+49 -iconic [...] )07:59
alf_Hello, I am bit confused about 'bzr update'.08:00
spivAfC: I hadn't had gnome-terminal crash in a very long time either.  It's a bit disorienting :)08:01
spivalf_: any specific aspect of it, or just the command in general?08:01
alf_All it does is to update the working tree according to the branch information?08:01
* fullermd nods at alf_.08:02
* gour prefers working in DVCS env and uses pull08:02
spivalf_: right (although that may involve doing a merge if there are local changes)08:02
alf_spiv: I am actually puzzled because when using it on a non-checkout branch it does nothing, it says all is up-to-date08:03
fullermdWell, that's what it does in any branch when the working tree is up to date with the branch  :)08:04
alf_So it only acts locally even though the remote branch may have diverged.08:05
AfCalf_: pull does an implicit update. So you're probably not used to thinking about it.08:05
fullermdIT works on your working tree, and the branch it's a WT of.  If that branch is local, it only acts locally; if the branch is somewhere else, it acts there too.08:06
alf_fullermd: Sorry, by remote branch I meant the mainline the local branch is the copy of.08:08
alf_So if I have a bound branch the 'local' branch information is actually the remote one and that is why it actually works like 'bzr pull'.08:09
* fullermd drags "bound branch" out behind the woodshed and drops a load of buckshot into it.08:09
fullermdWhen do you "bzr checkout bzr+ssh://wherever/" (or any other URL/path of course), you're making a new working tree on the branch at bzr+ssh://wherever/.  So 'update' will involve updating that working tree to that branch.08:10
fullermdWhen you have an all-in-one (e.g., the fruits of 'bzr init', or 'bzr branch foo'), the branch at the WT are colocated there, so update would update that WT to the branch sitting there.08:11
fullermdMostly, it's harder to get those out of sync.  One way is by push'ing to the branch from somewhere else; that'll update the branch, but won't touch the WT, so it will then be outdated.08:11
fullermdBut the point of checkout's is to allow multiple WT's to share a single branch, like in CVCS, so it's much more common for the branch to move ahead of the WT.08:12
fullermdWhich is why, speaking very roughly, 'update' is mostly used with explicit 'checkout's.08:13
alf_OK, I got it, thanks. As a side note the08:16
=== Verterok is now known as Verterok|off
alf_'bzr help update' documentation could use some clarification on the matter.08:19
fullermdProbably.08:20
Peng_I just realized that the branch/checkout pull/update thing totally makes sense. I used to think it was just an icky svn-ism.08:26
Peng_That doesn't make it ideal, but at least I get it now.08:27
alf_Peng_: exactly my thoughts, too. Perhaps this conversation (or the gist of it) should be added somewhere in the wiki or the guide.08:30
fullermdWell, it makes sense if you (a) concentrate on Checkout, Branch, and Repository, and keep track of which piece is where in your setup, and (b) shoot "bound branch" in the back of the head when it's not looking, and with it any concept of the special-ness of heavy checkouts...08:31
fullermdIt's when you get those implementation details in your mind that otherwise rather clear things start getting really muddy and special-case-looking.08:32
fullermdI keep meaning to try and write up a good defense/exposition from that angle.  I plan to as soon as I get caught up on some other things.  2063 is looking like a good year for it.08:33
Peng_Eh, I didn't think about heavyweight checkouts.08:34
fullermdWell, don't   :]08:34
Peng_I only understand it because of the implementation details.08:35
Peng_I mean, of course I knew how to use branches and checkouts, but I didn't understand why the commands were different.08:35
Peng_And now I do. :)08:35
fullermdUpdate updates a working tree to match a branch.  Pull updates a branch to match another branch.08:35
fullermd(it also often updates a colocated working tree if one's there, but that's a side matter)08:35
Peng_Colocated working tree?08:36
fullermdIt's not quite as simple as "branch->pull, checkout->update"; pull can make perfect sense used in a checkout, if that's what you're intending to do, and I use update in non-explicit-checkout trees all the time.08:36
fullermdYah, when you have a branch and WT sitting in the same place.08:37
Peng_Oh.08:38
fullermdI don't have a better term.  "standalone branch/tree" already has meaning in opposition to "repository b/t".08:38
Peng_I need to stop thinking about this. I understand it now, and if I think any more, I might confuse myself.08:39
fullermd"tree" by itself is way too generic, though it's the component of the rest of out terms that refers to the construct.08:39
Peng_(Psst, hg is simpler. :P )08:39
* Peng_ hides08:39
fullermdWell, so is RCS   :P08:39
Peng_:)08:39
fullermdAnd safer, too, 'cuz it has locks!08:39
fullermdReally, what makes hg simpler here is that it doesn't let you separate the WT from the branch.08:41
fullermdSo, if you just edit bzr to remove 'checkout', it'll be just as simple   :p08:42
Peng_It doesn't exactly separate branch and repo as much either.08:42
fullermdKinda sucks all around, this bzr/hg/git thing, y'know?08:43
fullermdThey're so similar, you forget the differences, and cause yourself no end up pain working between them.08:43
fullermdAnd they're so different, you forget how similar they are deep down and start ending up with invalid conclusions about relative capabilities.08:43
spivbzr does lack a neat way to work with groups of branches.08:43
fullermdOn the other hand, we DO already have all this capability of working with the pieces independantly, which makes it conceptually much EASIER for us to add that feature, than for e.g. git to add the capbility to split up as we do.08:44
fullermdWe'd be 90% of the way there by having a WT and Repo colocated, with the Branch's elsewhere, that elsewhere being somewhere under .bzr/, with better support for sibling-pathing in various branch-referencing commands.08:44
spivThat's the main point of its UI that actually seems to be a bit weaker than some other systems, rather than just being more flexible :)08:44
spivfullermd: well, looms give you something sort of like that, but with perhaps a bit too much policy builtin.08:45
fullermdEh.  Looms give you a stack, not a set.08:45
spivfullermd: but looms do demonstrate that such a thing isn't fundamentally hard to build.08:46
fullermdUseful, but for different things.08:46
fullermdThe biggest stumbling point is, that, sibling-reference syntactic sugar aside, branches are named by location rather than name.  That can make some things harder.  You end up doing a lot of heuristics to make things in a multi-tree LOOK like they're using names locally.08:46
fullermdAnd threads in a loom are like branches, except different.  I think in designing multi-trees we need to try to avoid making a new branch-like object; it just adds more special cases and confusion.08:48
fullermdGotta just adjust how they can be referenced and moved around.08:48
* fullermd has it all figured out... everything but the code to make it happen!08:48
fullermdYet another on my list of things to braindump in 2063   :p08:49
AfCHas anyone had trouble getting `bzr serve` to run as at bzr 1.8?09:47
fullermdNot in a quick test (or in the various bzr+ssh'age I've done since the upgrade)09:50
AfCHm.09:52
AfCWell, bug filed. I have no idea WTF, but I had to downgrade back to 1.7.109:52
fullermdWhat bug?09:53
AfC(holy christ launchpad is slow)09:54
SchalkenQ: What is the difference between a merge and a pull?09:54
AfCfullermd: Here we are: https://bugs.launchpad.net/bzr/+bug/28687109:54
ubottuLaunchpad bug 286871 in bzr "bzr serve doesn't" [Undecided,New]09:54
fullermdFound it.09:54
fullermdNote that it's blowing up AFTER trying to raise the error for failing to bind to the address/port.09:55
AfCfullermd: yeah, I saw that too09:55
fullermdSo the tuple out of range is a secondary failure.09:55
AfCBut it shouldn't be having trouble binding09:55
fullermdThe real question is why can't it bind, and that wouldn't change 1.7.1->1.8 I wouldn't think.  Weird.09:55
fullermdMaybe you had a TIME_WAIT socket hanging around?09:55
AfCfullermd: I wouldn't have thought so either.09:56
AfCfullermd: I tried different ports09:56
AfCfullermd: so that's not it,09:56
fullermdGot me, then.09:58
fullermdAlways a little disturbing, when something gets an error trying to give an error...09:58
AfCI can't duplicate it locally, of course, which makes it even more of a piss-off09:58
fullermdSome sorta weird selinux-like thing screwing around with what it lets bind where?09:58
AfC{shrug}09:59
AfCIf it works with 1.7...09:59
fullermdWell, if the program/lib/whatever were in a different place...09:59
AfCFair enough. But no, we don't run SE or any of that.09:59
* fullermd is inclined to blame selinux for any fault on any linux system. Or most non-linux systems, for that matter...10:00
AfCfullermd: Ok, you've gone from being intelligent to talking shit.10:00
fullermdEr, yeah.  In about 1992.  Try and keep up here   :)10:01
AfC:)10:01
poolienight10:14
spivAfC: Looks likely to be due to the change to allow bzr to bind to IPv6 addresses -- I've added a comment to the bug.12:08
* lamont grumbles about bzrtools/dapper being ftbfs12:39
cyberixA Bazaar icon suddenly appeared in my notification area12:44
cyberixWhat am I supposed to do with it?12:44
beunocyberix, it's part of bzr-gtk12:45
cyberixWhy do I need it?12:47
beunoI don't think you do12:49
beunothere's a bug open for that12:49
AfCspiv: I'll have a poke in the IPv6 direction in the morning.13:14
Linuturkanyone have a good guide as to using bzr to publish a website?14:39
jelmerthere's one on the wiki afaik14:40
=== toytoy_ is now known as toytoy
CardinalFangHi all.  I want to add a new feature to bzr using a plugin, a feature that (I think) goes beyond the foresight of the designers.  Is there a place in the .bzr/ tree that is safe for me to use?  I want a guarantee that I'm not going to break anything and future updates to bzr aren't going to break because of my addition of a new file in .bzr/ .  Essentially, I want a /usr/local/ inside .bzr/ .14:45
jelmerCardinalFang, afaik you should be able to use anything under .bzr as long as it's not named {branch,repository,checkout}{,-format}14:46
CardinalFangEven in 10 years?14:48
jelmerCardinalFang, never say never14:49
CardinalFangInstead, write specs that say "MUST".14:50
jelmerCardinalFang, there's no mechanism to maintain who can use what14:50
jelmerCardinalFang, s/maintain/determine/14:50
jelmerCardinalFang, bzr-svn sometimes uses a "svn" directory there, for example14:50
=== mw|out is now known as mw
jelmerso probably best to just take some name that is unlikely to clash with anything else14:50
CardinalFangOkay.  May I suggest "plugin-local/%(plugin_project_name)s" ?14:52
jelmerTBH that seems a bit overengineered to me, generally plugins don't have to write anything there14:53
CardinalFangI just don't want bzr or another author stomping on my toes when I name something "attributes".15:00
CardinalFang"plugin-local" is to protect bzr.  project name is to protect me.15:01
jelmerIt doesn't prevent somebody else from creating a plugin named "attributes"15:02
jelmerYour best bet probably is just to make sure the name is unique15:02
CardinalFangMy plugin is uniquely named.  I'm referring to a file I want to create in .bzr/ .15:04
CardinalFangAlright, i guess I got all I'm going to get.  Thanks, j.15:04
jelmerThere's not really a good way to solve these things.. you need a central authority to control who gets to use what names or something :-)15:05
vilaCardinalFang: If you tell more you may get more, for a start what .bzr are you talking about ? The repo one (shared or not), the branch one (with or without tree), the tree one ? Do you expect that directory to propagated on pushes, updated on pull, can there be conflicts ? etc. Otherwise .bzr is private to bzr if you put something here, *you* are responsible for maintaining it and protecting it15:07
CardinalFangThe branch .bzr .  It will /not/ be propagated on pulls or pushes (that's the point).  I know it's private to Bazaar; I want a reserved space for plugin authors to use.15:09
CardinalFangvila, ^15:09
vilaThere is no reserved space that I know of at that point, but an addition to the branch that doesn't propagate sounds strange... Are you sure it's not for the working tree ?15:11
CardinalFangYes, I'm sure.  This is not versioned information.  It /must not/ be.15:11
vilaWell, I can't provide advices in the dark, I've done my best with what you provided and my limited knowledge... The last thing I can mention is that you can specify some info in branch.conf and locations.conf that are related to branches15:13
CardinalFangvila, Yes, thanks.  De facto standards as good as de jure.  I'll just do it and mention it in the wiki.15:16
jamvila: ping15:17
vilajam: pong15:21
jamhow's it going?15:22
jamWere you able to merge my bzr-gtk patch without any problems?15:22
* jam is still not sure why he isn't a part of the bzr-gtk developers, but it doesn't really matter in the end15:22
vilayup :) bundle are smarter than I thought, your commit is now on trunk15:22
vilabecause you didn't register there ?15:23
jelmerjam, I wasn't aware you weren't part of the bzr-gtk developers at least :-)15:24
jamwell, I probably never tried15:24
vilajam: It's quite paradoxical given that you're quite high in bzr stats output :)15:24
jamfor now, I'm happy enough with that :)15:24
vilajelmer: same here :)15:24
jelmerjam, you're not a member of the launchpad team or voting rights in bb?15:24
jamvila: that's just because when I develop I commit a lot15:24
vilajam: yeah, sure :)15:24
jamjelmer: I'm not part of either15:24
jamvila: I only developed the per-file commit code15:25
jamand maybe some diff tweaking15:25
vilajam: haaa, you're the one... We need to talk then :)15:25
jamProbably my total lines of code is smaller than my total # of commits15:25
vilaWhat is the rationale of iter_changes_to_status() in diff.py and why not using tree.iter_changes more directly ?15:28
vilaBecause it was private in this time ?15:28
vilajam: Anyway, it sounds that iter_changes_to_status() traceback when invoked on trees with conflicts (or partially resolved conflicts)15:32
vilaIn particular it seems to fail when invoked on contents conflicts, but I've yet to reduce the reproducible scenario15:34
vilaseeing file names ending in .OTHER.OTHER in bzr st output, added section, makes my eyes bleed15:38
jamvila: I'm not really sure. My guess is that iter_changes_to_status is meant to build up the 'status' style listing which breaks things into added/removed/etc sections15:50
jamrather than just spitting everything out as one-line changes15:51
jam(consider 'bzr st' versus 'bzr st --short'15:51
vilabut gcommit presents them in their raw form and the columns (type, path) are not even sortable...15:52
vilaanyway, see https://bugs.edge.launchpad.net/bzr-gtk/+bug/286834/comments/515:53
ubottuLaunchpad bug 286834 in bzr-gtk ""bzr gcommit" issues an exception" [Undecided,Confirmed]15:53
jamI wish direct links to comments had an obvious way back to the bug15:54
jelmerjames_w, I'll have a look at hiding that bzr-gtk icno when it's not used15:54
james_wjelmer: cool, thanks15:54
vilajam: Exactly my thought a few hours ago, I ended up editing the url16:01
jamvila: yeah, me too. Did you try my reproducible way?16:01
jamIt is pretty trivial to trigger with "bzr add foo; rm foo"16:01
vilajam: eerk, where did you write that ?16:02
jamvila: look at https://bugs.edge.launchpad.net/bzr-gtk/+bug/286834/comments/416:02
ubottuLaunchpad bug 286834 in bzr-gtk ""bzr gcommit" issues an exception" [Undecided,Confirmed]16:02
jamor https://bugs.edge.launchpad.net/bzr-gtk/+bug/286834/comments/316:02
jam(you want comment 3)16:02
viladamn it, my page was already opened when you wrote that :-(16:03
vilaok, then I may have a guess on what files trigger that, it seems to occur when repeatedly merging from a branch where, at the first merge, you said I don't want that file (or containing dir even) and then they keep coming back16:05
vilajam: or something along those lines,16:06
vilas/,//16:06
vilaat least the ones I got when doing 'bzr resolve --all' without solving the conflicts seem to match the pattern16:07
jamso for 'bzr resolve --all' I would expect the merge to conflict on deleting a file16:07
jamand after resolve --all it will have implicitly deleted the .OTHER file16:07
jamso16:07
jamtouch foo16:08
jambzr add foo16:08
jambzr commit16:08
jambzr branch . ../other16:08
jambzr rm foo16:08
jambzr commit -m rm16:08
jamcd ../other16:08
jamecho mod >> foo16:08
jambzr commit -m "mod foo"16:08
jamcd ../ths16:08
jambzr merge ../other16:08
jambzr resolve --all16:08
jambzr gcommit16:08
vilajam: watch your language :)16:10
=== fta_ is now known as fta
vilajam: works16:20
jamvila: so I think the fundamental issue is needing a way to represent "added but missing" files16:21
jamI would probably be fine with just a plain "missing" category16:21
jamand ignore whether they were just added or have been around a while16:22
vilaaddding a foo.OTHER file ?16:22
jamkinds[1] is None and versioned[1] is True16:22
jamvila: when you have a delete conflict, we add .OTHER16:22
jamas a way to "restore the file" but indicate "it was deleted in this"16:22
jamwe need to put the modified content somewhere16:22
jamI think abentley thought .OTHER was the best way to do it.16:22
vilaBut *committing* that ?16:23
jamI'm not sure that I have a strictly better solution16:23
jamvila: that is why it is marked conflicted16:23
vilaIt's likely a user error16:23
jamso you can't commit until you do something to resolve it16:23
jam(resolve --all, being a really big hammer)16:23
vilaI strongly suspect that a bzr resolve [--all] was issued in a hurry and that the intent is *not* to commit that file16:24
vilaNow 'bzr commit' does indeed commit it... obeying user orders...16:25
vilajam: on second thought, I see your point about a missing section and indeed that seems to be the missing bit (ha ha) in iter_changes_to_status()16:32
vilajam: thanks for the help, I'll fix it from there16:37
jamvila: np16:37
* vila runs to the school meeting16:38
jelmerjames_w, btw, how's your archive importing going, or is that on hold until intrepid?17:02
james_wit's going ok17:03
james_wI need to stop working on other things to get the final bits in place17:03
james_wthe main two tasks are to document everything, and write the incremental importer that imports new uploads outside of bzr17:03
lamontif someone with upload privs to ~bzr wants to fix bzrtools/dapper, that'd be lovely.  (sed -i s/central/support/ debian/{rules,control}; bump version, upload)17:38
jamlamont: If you want to post that as something I could actually do with "patch" then I'll be happy to bump the branch17:40
jamI'm currently on win32, though, so I can't rebuild the package17:40
lamontjam: I'll do that in a bit and poke you17:41
lamontjam: http://people.ubuntu.com/~lamont/bzrtools_1.8.0-1~bazaar~dapper2_source.changes et al17:45
jamlamont: doesn't seem to be there yet17:45
jamlamont: is there a subdir I'm missing?17:46
lamontwith wget? shouldn't be17:46
jamlamont: with Firefox atm17:46
jamand wget also gives a 40417:47
lamont10:47:11 (52.29 MB/s) - `bzrtools_1.8.0-1~bazaar1~dapper2_source.changes' saved [899/899]17:47
lamontwget loves me17:47
lamontwget http://people.ubuntu.com/~lamont/bzrtools_1.8.0-1~bazaar1~dapper2_source.changes17:47
jamthe 1 works better than the 217:47
lamontah, yeah.  missing 1 on the bazaar bit17:47
lamontbad monte.17:47
lamontanyway, the .changes needs to be resigned, and the 3 files uploaded to the ppa (obviously)17:48
jamlamont: well, I was hoping to have a patch that I could apply and 'bzr commit' first17:50
lamontoh.17:50
lamontmeh17:50
lamonthttp://people.ubuntu.com/~lamont/bzrtools.diff17:51
lamontkeep or don't keep the debian/changelog part of that. :-)17:51
=== Verterok|off is now known as Verterok
synicare there any graph generators for bzr?  Something to graph commits between certain dates19:24
james_wsynic: there is something in bzrtools that may do what you want19:41
Odd_Blokesynic: Does 'bzr viz' in bzr-gtk do what you want?19:44
jamlamont: odd, when I go to apply your diff to ~bzr/bzrtools/packaging-dapper  it already has the right values20:03
jamI'm not sure what happened with Martin's packaging20:03
lamontjam: I was just going off the bzr repo packages...20:03
lamontso yeah20:03
jamIsn't that the bzr repo ?20:03
jamor you're saying that didn't make it into the .changes file, and you were just copying it?20:03
mkanatThere's some way to do external dependency branches in modern bzr versions, yeah? Like having one branch get checked out into a specific place when checking out another branch?20:29
Peng_mkanat: That's been experimental for ages.20:31
Peng_Is it even possible right now?20:31
lamontjam: visit https://edge.launchpad.net/~bzr/+archive and note the big red X at the bottom of the page...21:07
lamontthe bits uploaded to the bzr ppa, are not the ones that build21:07
lamont(for dapper, bzrtools, that is)21:07
guilhembi_vila: tu es là?21:13
lifelessjam: the T_LONGLONG thing is probably a new-pyrex-old-python thing21:33
=== jaypipes is now known as jay-dinner
* Linuturk starts playing with bzr as a document repository/backup solution22:19
Linuturkhow well does bazaar handle non text files22:26
Linuturk?22:26
Linuturklike images and office docs?22:26
Linuturkvideo and music files as well22:27
Linuturkthings you'd find in your typical /home directory22:27
LinuturkI currently use unison to sync, but revision control might be a better method22:27
luksdepends on your definition of ""2Dhandle22:28
pooliehi22:29
Linuturkluks: I mean, it will allow me to push them to my server?22:30
Linuturkand, if they are deleted, remove them as well?22:30
luksLinuturk: of course, in fact bzr handles every file as binary22:30
Linuturkmmk22:31
Linuturkso, let's say I create a branch of my /home/username/22:31
Linuturkadd all the files22:31
Linuturkinitial commit22:31
Linuturkthen, I push over ssh to server:/home/linuturk/22:32
LinuturkI would just see a .bzr directory there, right?22:32
luksafter some (long) time, yes :)22:32
LinuturkI'd have to checkout before the files showed up on server22:32
luksright22:32
Linuturkthat checkout comes from the local .bzr directory though, right?22:32
Linuturknot the network22:33
luksyes22:33
Linuturkok. I'm starting to get the idea22:33
luksI think it's a bad idea, though22:33
Linuturkthen, I could pull any changes back to my laptop, correct?22:33
Linuturkwhy a bad idea?22:33
luksbzr, or any other vcs, is not designed to do that22:34
Linuturkso, I'd probably just be better off syncing with unison like I am already22:36
Linuturk?22:36
lukswell, it depends on your needs22:36
Linuturkwell, i want to have my files redundant across multiple machines incase of a single failure22:37
Linuturkand22:37
Linuturkeasy online/offline access to said files22:37
Linuturkcrossplatform22:37
Linuturkautosync would be lovely too22:38
Linuturkmy own personal hosted dropbox would be ideal, but I don't know of any way to do that22:39
Linuturkie, I don't trust them with my data and I want more than 2GB storage22:39
luksI think you will be disappointed using bzr for this, but you can try22:40
beunoLinuturk, rdiff-backup may be what you want22:40
Linuturkdo you know of any other solutions?22:40
beunoif you want diff22:40
luksno, I don't22:40
beunoit saves reverse diffs, so you can go back in time for files, etc22:40
beunoit does diff on binaries as well22:40
Linuturkhmmm22:42
Linuturkneato22:42
Odd_BlokeI'm getting http://bzr.daniel-watkins.co.uk/bzr-twitter/foo when attempting to do anything with http://bzr.daniel-watkins.co.uk/bzr-twitter.  How can I resolve this to recover some data?22:47
BasicPROHello Odd_Bloke  I'm the person who email you regarding bzr-twitter :-)22:52
=== BasicPRO is now known as BasicOSX
Odd_BlokeBasicOSX: Hi. :)22:55
BasicOSXWhat's a bzr info give you?22:55
Odd_BlokeI just responded.22:55
Odd_Blokehttp://paste.pocoo.org/show/88712/22:57
Odd_Bloke"(format: unnamed)" is interesting.22:57
BasicOSXDid you create the repo with an older version of bzr? Perhaps a  'bzr upgrade' ?22:57
Odd_BlokeOh, no, I was just failing at restoring backup.bzr.  It's actually giving http://paste.pocoo.org/show/88714/23:00
spiv"bzr info -v" is helpful when bzr reports "format: unnamed"23:01
Odd_Blokehttp://bzr.daniel-watkins.co.uk/bzr-twitter/bzr-info-v23:02
Odd_Blokespiv: ^23:06
Odd_BlokeWell, I'm heading to bed.23:09
BasicOSXnight23:09
Odd_BlokeHaving a job FTS.23:09
BasicOSXthanks for trying23:09
Odd_BlokeBasicOSX: No worries, I'll look at it again tomorrow.23:10
Odd_BlokeThis might actually be enough incentive to attempt a recovery from the broken drive. :)23:10
mae^why would bzr report a file as unmodified inside eclipse, but outside on the console its marked as modified?23:22
Verterokmae^: maybe bzr-eclipse fault? :)23:23
Verterokmae^: try refreshing the project23:23
Verterokmae^: bzr-eclipse should refresh the decorators23:24
Verterokmae^: also, if you can reproduce this behaviour, please file a bug :)23:24
mae^yeah, i think this started when I upgraded to 1.1.023:25

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