subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Mikesell <lesmikes...@gmail.com>
Subject Re: Parmently removing directory from server to make space
Date Tue, 26 Mar 2013 12:37:01 GMT
On Tue, Mar 26, 2013 at 6:25 AM, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> Anil Bakshi wrote on Tue, Mar 26, 2013 at 16:37:25 +0530:
>> So I will go with your suggestion: svndumpfilter exclude
>> /E_Learning/Development/Project1  < repo.dump > filteredDump.dump
>>
>> Please correct me.
>
> You might try this command:
>
> % grep -a '^Node-path:' < repo.dump | head
>
> to see what paths inside the dump file look like.
>
> .oO ( maybe we should have an 'svndumpfilter info' command?  I suppose
> it could basically cat the dumpfile, except: file reps would be omitted;
> dir reps would be omitted (unless we figure out something sensible to
> dowith them, eg "5 children"); properties would be omitted (but in the
> future we could list propnames or propnames and propvalues). )

If you want to change things, it would be nice to be able to give
svndumpfilter a bunch of paths where projects start and have it split
them into separate files in one pass  - and to do something useful
when a project was originally imported into the wrong location and
them moved to the correct path.

And perhaps mention the difficulty of this process in the beginning of
the documentation/overview to discourage putting more than one project
in a repo in the first place.


-- 
   Les Mikesell
      lesmikesell@gmail.com

Mime
View raw message