Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can someone please point out how I could do svn:externals for a single file? I know how to use svn:externals for directories, having used it for a while now under svn 1.4 but I can't seem to figure out how to do file externals in 1.6.

I can't also figure out the documentation in the svn redbook here http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html.

Thank you so much in advance.

Ismael :)

share|improve this question
up vote 3 down vote accepted

You include the relative path to the imported copy of the file followed by the absolute path to the external copy of the file on the same line in the svn:externals property of a parent folder to the imported copy. The external file must be in the same repository an it's imported copy. Use svn propedit svn:externals . and add a line like:

path/to/imported/file.txt http://www.example.org/svn-repo/external/file.txt

Just make sure it's in the same repository. Also read:


share|improve this answer
thanks @penguin359 – icasimpan Mar 31 '11 at 8:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.