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

Re: importing all but 1 file

From: Saulius Grazulis <grazulis_at_ibt.lt>
Date: 2005-12-02 09:37:29 CET

On Friday 02 December 2005 01:03, Shawn Matlock wrote:

> Steve> Move the file outside the tree, import, then move the file back.
>
> I'm sorry. I didn't make that clear. The file cannot be moved or deleted -
> hence my need to import everything but it.

If you are importing into a fresh repo, I would suggest not to use 'svn
import' command but instead create empty repo, do 'svn co
prot://path/to/repo .' -- you will get 'revision 0'.

After this you can set 'svn:ignore' property to ignore the file(s) you want,
'svn add' the rest and 'svn commit'.

Hope this helps.
Saulius

-- 
Dr. Saulius Grazulis
Institute of Biotechnology
Graiciuno 8
LT-02241 Vilnius
Lietuva (Lithuania)
fax:          (+370-5)-2602116
tel.: office: (+370-5)-2602556
      mobile: (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Fri Dec 2 09:17:29 2005

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