/srv/irclogs.ubuntu.com/2008/04/26/#bzr.txt

=== mw is now known as mw|out
=== spiv_ is now known as spiv
=== cprov is now known as cprov-out
emgentheya12:34
mathrickhallo13:09
mathrickhow easy is it to use bzr's testing infrastructure for code not strictly in bzr?13:09
mathrickie. my repo sync script, which already imports parts of bzrlib13:09
ubotuNew bug: #222540 in bzr-gtk "Add a tags page to the revision view" [Undecided,New] https://launchpad.net/bugs/22254015:01
=== rockstar` is now known as rockstar_
vaasu q: i dont want a binary file to be under a revison control,(maintain its history), so, i put it under .bzrignore, but, now problem is, once this happens, when i push to a remote repo or clone, it does not get copied. any workarounds?15:36
vaasuall i want is, not to maintain the history of the file, but copy the file on clone/push.15:36
Odd_Blokevaasu: bzr will only deal with files that are version controlled, so you'd have to find an external way of doing that.15:39
mathrickvaasu: you can't have a file in repo and not have its history15:42
mathrickit's internally inconsistent15:42
vaasubut sometimes it is sensible isn't it? such as image files.. say maintaining a website15:42
mathricka repo is not a set of files, it's a set of tree states15:42
mathrickvaasu: no, it's completely meaningless15:42
mathrickie. there's no interpretation of what you want it to do that would be sensible15:43
vaasuhow can i force a file not in revision control to propagate on push/branching?15:43
mathrickvaasu: what contents should it have on clone/push?15:43
mathrickvaasu: write a plugin that does what you want15:43
mathrickbut be aware that the requirements you gave are NOT consistent without further clarification15:44
mathrickso you have to encode the precise meaning of what you want into the plugin15:44
mathrickbtw, wasn't there a way to drop binary delta into bzr?15:44
mathrickso that it's efficient even for binary files?15:45
vaasumathrick: binary deltas will increase the size of repo to a large extent isn't it?15:45
mathrickvaasu: no, why?15:45
mathrickdeltas are deltas15:45
mathrickwell, if the changes are huge, so will be the deltas15:46
mathrickbut that holds for any kind of change15:46
mathricka binary diff can deal with binary files however, in a way smarter than "uh-oh, this be binary sir"15:46
vaasu> well, if the changes are huge, so will be the deltas, yes exactly, thats why i dont want to keep history..15:47
mathrickvaasu: okay, so what you want is not to keep a file sans history in the repo, but to attach a file to the tree without putting it in the repo?15:47
mathrickI guess that makes sense when specified this way15:48
vaasuyes.15:48
mathrickvaasu: write a plugin then, it's not so hard15:48
mathrickdocs are available from the site15:48
mathrickjelmer: btw, could I get some guidance with bzr-rebase please?15:48
mathrickspecifically, I'd like to add patch reshaping (a'la git rebase's "merge" command)15:49
vaasuany otherway than writing a plugin... i mean.. plugin is the last resort if i would go..15:49
mathrickthough maybe just merging would be enough for my purposes, can't decide15:49
vaasu?15:49
mathrickvaasu: why is it the last resort?15:50
mathrickit's neither hard nor non-sensible15:50
vaasui am afraid i may write something screwy....15:50
mathrickit's _the_ way of extending bzr15:50
mathrickvaasu: and without a plugin you wouldn't15:50
mathrick?15:50
vaasuwell i assume..15:51
mathrickthen you're wrong15:51
vaasuhmm15:51
mathricka plugin is just a way to hook a piece of code into bzr automagically15:51
mathrickit doesn't make the code any more or less correct than it'd be otherwise15:51
mathrickit just makes it easier to get it right15:51
mathrickvaasu: btw, you can prototype your code as a separate snippet15:55
mathrickand make it into a plugin once you're reasonably certain it works15:55
jelmermathrick: pong17:41
mathrickjelmer: hi, read my request?17:42
mathrickhow hard would it be to hack that in?17:42
jelmermathrick: not sure I understand what you mean exactly17:43
mathrickjelmer: do you know how git rebase can reshape patches?17:43
jelmermathrick: you mean the interactive stuff?17:44
mathrickjelmer: yeah17:45
jelmermathrick: I guess it shouldn't be too hard to do something like that17:45
jelmeralthough it doesn't really require any code in the rebase plugin17:46
jelmerI think I'd rather see a different plugin for that17:47
mathrickmhm, it's just that's how git does that I guess17:47
mathrickthough OTOH reshaping the tree and reshaping the patches kinda go togeter17:47
jelmerI wouldn't mind having an extra command in the rebase plugin for this17:49
jelmerpatches welcome :-)17:51
mathrickjelmer: well, yes, but noticed the bit in which I ask for assistance? :)18:28
cr3I just ran the following command and I seem to be missing a bunch of files compared to a svn co: bzr branch svn://svn.zope.org/repos/main/Zope3/trunk18:40
Odd_Blokecr3: What files are missing?18:48
cr3Odd_Bloke: lots of directories under src/zope18:50
Odd_Blokecr3: I don't know how bzr-svn deals with externals...18:51
Odd_Blokejelmer: ^ ?18:51
cr3Odd_Bloke: good point, src/zope/.svn/dir-prop-base lists a bunch of externals which don't happen to be downloaded18:52
cr3Odd_Bloke: README.gz says: 'svn:externals'. Externals should be mapped to Bazaar 'by-reference' nested branches and the other way around. This can't be implemented...18:55
Odd_Blokecr3: Sounds like you're out of luck. jelmer would know more.19:01
cr3hm, so I'm really not sure how to deal with an upstream svn project :(19:01
cr3I'm thinking of doing some shell magic to grab all the dir-prop-base files and create new bzr branches for each external repo, then create symlinks to those each of those new projects19:02
cr3or, store the whole svn co (include .svn directories) into my bzr project :)19:04
cr3david allouche might have something for me, his svn2bzr seems to support svn repo to bzr conversion19:10
=== wildfire` is now known as wildfire
cr3is python-paramiko needed for bzr+ssh or only sftp?20:36
LaserJockis there anyway to conveniently merge subdirectories of two branches on a regular basis20:36
LaserJock?20:36
LaserJockcr3: I thought bzr+ssh used sftp, but I could be wrong20:37
cr3LaserJock: that would be strange considering the significant performance difference between using sftp and bzr+ssh20:38
LaserJockI thought it was due to more efficient use, not particularly changing underlying protocols20:39
LaserJockbut I'm so not a bzr expert20:39
GuyFromHellIs there a solution for bzr-svn not setting that $Id$ thing in files when checking out a repository with --lightweight?21:37
awilkinsGuyFromHell: No, no keyword expansion in bzr yet21:37
GuyFromHellawilkins, k, i guess i'll just add it by hand then and trick it :P21:37

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