How do I purge a file from the repo?

Asked by Johan Walles

Hi!

I have a repository at lp:oneswarm. That repository contains some .jar files, making the repo big and costly to branch.

Some of those .jar files aren't needed, and to shrink the size of the repo I'd like to get rid of them permanently.

I've of course done "bzr rm" on them, but I'd like to get rid of them so that it looks like I never put them in the repo to begin with.

How can I do that?

  Regards /Johan

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Martin Pool (mbp) said :
#1

On 20 February 2010 20:56, Johan Walles
<email address hidden> wrote:
> New question #101749 on Bazaar:
> https://answers.launchpad.net/bzr/+question/101749
>
> Hi!
>
> I have a repository at lp:oneswarm.  That repository contains some .jar files, making the repo big and costly to branch.
>
> Some of those .jar files aren't needed, and to shrink the size of the repo I'd like to get rid of them permanently.
>
> I've of course done "bzr rm" on them, but I'd like to get rid of them so that it looks like I never put them in the repo to begin with.

The short answer is that you should use bzr-rewrite to make new
commits that don't have them in.

--
Martin <http://launchpad.net/~mbp/>

Can you help with this problem?

Provide an answer of your own, or ask Johan Walles for more information if necessary.

To post a message you must log in.