/srv/irclogs.ubuntu.com/2012/08/18/#bzr.txt

ScottKI have a local bzr branch that has a number of files and directories in it.  I would like to export a single file (which has been renamed, if it matters) with the history of just that file into a new bzr repository.  Is that possible/how do I do it?01:39
bob2split, I guess02:17
bob2or bzr-rewrite02:17
bob2(or not bother, and just put the file in a new repo)02:17
fullermdsplit is just a shortcut to rm'ing everything else and committing.02:19
fullermdYou can't move just one file's history, because there isn't any such thing.  Files don't have history; history has files.02:19
fullermdWith something like rewrite, you could in concept create a new history with just that one file in it that looks a lot like the existing one; whether the tool makes that practical, I have no idea.02:19
ScottKOK, put it differently, can I rewrite the history to remove everything else?02:37
ScottKKeeping the history is important because bzr blame has saved my behind more than once already.02:37
fullermdYeah, that's what you'd have to do; create a new history that looks pretty much like the existing history of the file.03:22
fullermdSorta a (foreach `bzr log $FILE`; set contents ; commit with same log/committer/date) process.03:23
fullermdWhich is conceptually in rewrite's domain.  Whether such a thing is actually implemented there, I don't know.03:23
mnnhi... it seems that there's a bug in bzr log17:56
mnnI merged stable branch into trunk, and the tag on the last revision in stable branch is not shown in bzr log -r <rev_with_merge> -n017:57
mnnhowever when I want to add it in Bazaar Explorer, it says that the tag already exists and asks me if I want to move it17:57
mnn* I run bzr log -r <rev_with_merge> -n0 in trunk of course17:58
=== herb is now known as herb__
=== herb__ is now known as herb
mnnoh no... I wasn't able to reproduce it on new branch :(18:06
mnndoes anybody know what could cause this behaviour?18:14
=== r0bby is now known as robbyoconnor

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