[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Forever deleting something from repo

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-11-04 13:39:43 CET

Alex R. Mosteo wrote:
> Max Bowsher wrote:
>> Alex R. Mosteo wrote:
>>
>>> Ben Collins-Sussman wrote:
>>>
>>>>
>>>> On Nov 3, 2004, at 9:13 AM, Martin Struwe wrote:
>>>>
>>>>> Ben Collins-Sussman wrote, On 03.11.2004 04:25:
>>>>>
>>>>>> On Nov 2, 2004, at 9:00 AM, Alex R. Mosteo wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I see a FAQ entry about some future "svnadmin obliterate". It says
>>>>>>> it's a post-1.0 feature. Since I don't see any hint to this in the
>>>>>>> roadmap, I want to ask: has this been totally put aside? Or is still
>>>>>>> somewhere [estimation?] down the road?
>>>>>>
>>>>>>
>>>>>> It's not scheduled yet, but still a long-term goal. See issue 516.
>>>>>
>>>>>
>>>>>
>>>>> If I have a password in my repository, I need a Solution now
>>>>> for 1.0.9.
>>>>> Can I move the the old Version in a protected Subdirectory, so
>>>>> that nobody can view the wrong commit?
>>>>>
>>>>
>>>> Use 'svnadmin dump', 'svndumpfilter', and 'svnadmin load' to rebuild a
>>>> new repository. The book discusses this in chapter 5. That's the only
>>>> way to make history disappear.
>>>
>>>
>>> If you have read my other post about a 'broken pipe', you'll know that
>>> for some reason svndumpfilter dies when trying to exclude a particular
>>> folder tree from my (big) repo. (Oddly, if I only *keep* that folder, it
>>> works. That suggest the problem is out of that folder).
>>>
>>> So, I'm alone here? No solution or workaround?
>>
>>
>> svnadmin dump
>>
>> Use a binary-clean editor to manually edit the dumpfile.
>> (Simplest thing would be to just search for the password, and replace it
>> with the same number of X-es.)
>
> But I don't want to erase a password but an entire brach of contents.
> Would work if I change (binary editing) the name of the top folder in
> the branch at the creation point? So the rest of imports under this
> folder would fail... or will this cause the abortion of the import?

The latter.

If you cannot use svndumpfilter, you could look at the dumpfile. It's syntax
is not too complicated, you could probably do the filtering manually.

Mxa.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 4 13:40:54 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.