Frage

Possible Duplicate:
How to remove an accidentally put large file (4GB) from Subversion repository?

I'm using a SVN hosting provider. I checked in some large binaries in and went over my 2GB quota. I don't need to have those under source control obviously so I removed them.

The size of the repository stayed over the limit though. The guys at the hosting company say it's because the large binaries are still in that revision.

The guys at the hosting provider are pretty cool about it, but if possible I would like to remove that revision. I've made a number of commits between the add and delete and since.

I'm on a branch off the main trunk (I think that's the correct term?).

I don't think I can just go in the history and delete the revision. The only other thing I can think off is to:

a. Merge the branch I'm in back to the trunk and then delete the branch. b. Delete the repository, create a new one, then re-import everything back in.

I'm not sure either of those will work. What would you guys suggest?

War es hilfreich?

Lösung

You can rewrite history in Subversion by only one way

  • Create dump(s) of repository (svnadmin dump or some way in Web UI of provider), which skip(s) bad revision
  • Delete old repository (optional)
  • Create new repository, load dump with correct data
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top