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

Re: Mark a file as locally ignored

From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2005-03-25 16:41:36 CET

On Friday 25 March 2005 17:00, Manuel VACELET wrote:

> But sometimes you won't create a private branch for ridiculous reasons
> (here, I commented 2 lines in a .htaccess file beacause my local apache
> do not provide a module).

What if you clone the whole directory and work there?

Say, if you trunk is in project-trunk, you do ether

cp -a project-trunk project-test

or

svn export file:///my/svn/repo/project/project-trunk project-test

Now you can do whatever you want in the project-test, svn will not care a bit
about it ;). After you are happy with the result, copy the things back into
svn-controlled files and commit. Then 'rm -rf project-test'

I used to do so before I started using svn, and would probably do in the
situation like you describe.

-- 
Saulius Gražulis
Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)
tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Fri Mar 25 16:40:50 2005

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.