=== slank is now known as slank_away [09:10] morning! [09:13] * fullermd wavels at mgz. [09:14] hey fullermd === yofel_ is now known as yofel === idnaria is now known as idnar [12:55] bzr push lp:~jml/$(basename $(pwd))/`bzr nick` ... *sigh* [13:47] Hello. How to remove file from bzr history? I am in commit 500, and in commit 400 there is Django.tar.gz. I want to remove it and change entire history, but can't find anything on Google.. [13:57] The chnage you need to make is a history-rewrite operation.. not a simple one [13:57] DVCSes by their nature don't take kindly to history-rewrite [13:57] You -can- do it but it will be very disruptive to anyone who has taken a branch of your project since -r400 [13:59] LeoNerd: I know there will be some bad things to other who already pulled changes. But it doesn't matter, they can clone repository starting from new. So I still want to learn to rewrite history somehow. [13:59] What I suggest is to rename the current branch (it's just a directory on the filesystem, to something like foo.BROKEN) [14:00] Then branch that at the revision before (-r399), and use replay to replay every commit from -r401 onwards. This will give you a branch in which -r400 is entirely missing from history [14:00] (The original -r400) [14:00] If you want to preserve numbering, you could create a new -r400 at that point, which is empty [14:00] If -r400 contained anything else that you still wanted to keep, you'll have to pull that in as well at that point [14:04] Plus this way, nothing can go wrong because at worse, you still have the original branch :) [14:04] [TM] [14:12] LeoNerd: Thanks for the tips. Trying to do that right now. [15:22] I have a file ./.bzr/repository/packs/d3cfd48157817d9c08ef3c8636b74329.pack which is 390 MB. Maybe it's possible to unpack it? [17:17] LeoNerd: what you want is filter-branch like functionality. there is experimental code to do that https://code.launchpad.net/~asabil/bzr-rewrite/filter-branch [17:17] ReekenX: unpack won't be helpful, but repacking might [17:18] LeoNerd: or you can bzr fast-export / fast-import with filter. [17:18] to achieve removing part of the history (e.g. offendings commits that touch .that binary blob) [17:19] Oh, true [17:19] I was presuming there was just a single add commit then it was never touched === SamB_ is now known as SamB [18:02] Thanks xnox and LeoNerd - everything solved using bzr fast-import/export [18:02] :) [18:03] =)))) \o/ === deryck is now known as deryck[lunch] === deryck[lunch] is now known as deryck === ReekenX is now known as ReekenX|AFK === lamont` is now known as lamont