views:

169

answers:

3

can we set single file as external in subversion

+1  A: 

No you can't. Quoting the online-book Version Control with Subversion :

The support that exists for externals definitions in Subversion remains less than ideal, though. An externals definition can point only to directories, not to files.

(close to the end of the page)

Pascal MARTIN
+1  A: 

You can only set the attribute on a directory, and it doesn't take full paths to a specific file. So that would be a no.

Thorarin
+3  A: 

Yes, it's possible with svn 1.6. It's documented in the nightly build version of the svn book.

But even though file externals are working, you should only do it with text files (for now) because binary files won't work correctly as file externals.

Stefan
the issue with binary files (http://subversion.tigris.org/issues/show_bug.cgi?id=3368) is fixed
sdu