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

Re: dropping support for old (format 1) working copies

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-11-07 22:32:55 CET

B. W. Fitzpatrick wrote:
> Ben Collins-Sussman <sussman@collab.net> writes:
>> On Fri, 2003-11-07 at 14:50, Colin Watson wrote:
>>
>>>> Why? Because its big, or because you can't delete and re-create
>>>> your home dir?
>>>
>>> Because not all of it's checked in and there are several necessarily
>>> uncommitted changes there. Also I need to be extremely careful about
>>> what I remove; it's not as if I can just do 'rm -rf ~'.
>>
>> $ cd wc
>> $ svn diff wc > ~/mychanges.patch
>> $ cd ..; rm -rf wc
>> $ svn co http://.... new-wc
>> $ cd new-wc
>> $ patch -p0 < ~/mychanges.patch
>
> Sorry Ben, it's not that easy. I've had my home directory under
> version control for years now, and I'll betch that Colin has a ton of
> stuff being svn:ignored and doesn't want to have to cull his working
> copy for that stuff. Am I right?
>
> Anyway, if that's the case, after you do what Ben points out above,
> write a little shell script that deletes all 'svn:ignore' properties
> in your working copy (don't forget any global ignores you set in your
> ~/.subversion directory), then run svn st on your working directory

Or, just run "svn st --no-ignore".

> and all the (previously) ignored files will show with ? marks next to
> them. With the help of your favorite editor, you should be able to
> turn this into a list of files to copy into your new working copy.
>
> -Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 7 22:34:03 2003

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

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