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

Re: svn -- checking out a specific file

From: Martin Eisenhardt <martin.eisenhardt_at_wiai.uni-bamberg.de>
Date: 2006-02-06 11:33:07 CET

Hello Praveen,

On Monday February 6 2006 11:11, Praveen DS wrote:
> * Hi,
> Is it possible to checkout specific file (or set of files) in
> subversion?

Short answer: no.

> All I need
> is a read only copy of a particular file. Is there any way I can create a
> working copy of a directory without populating it and then checkingout the
> particular XML file I need?

Longer answer: Subversion is about versioning directories and *not* about
versioning single files (as CVS does).

A work-around could be :

 - to create a directory containing only the relevant file(s), or
 - to create a directory and symlink the relevant file from within this
   directory (though I haven't tried this one, and it will *only* work on
   Unix/Linux-like OSs.

Kind regards
Martin Eisenhardt

-- 
Dipl. Wirtsch.Inf.(Univ.) Martin Eisenhardt
Otto-Friedrich-Universität Bamberg
Fakultät Wirtschaftinformatik und Angewandte Informatik
Lehrstuhl für Medieninformatik
D-96045 Bamberg
fon: +49 (951) 863-2856
fax: +49 (951) 863-2852
www: http://www.mneisen.org

  • application/pgp-signature attachment: stored
Received on Mon Feb 6 11:35:12 2006

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.