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

Re: Hardlink conversion from Linux to Windows

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-05-08 21:34:35 CEST

Julian Kolodko wrote:

> We have a project that was originally created under Linux. The top
> level directory was populated using hardlinks and the entire structure
> was checked into a repository. I am now trying to check this structure
> out onto a windows machine but the hardlinks are not being translated
> into something that windows understands. Each hardlink is replaced with
> a text file that says where the target file is e.g.:
>
> link ../runup/device_m.v
>
> Actually, it seems there is a chain of links. If I look at the file
> specified above I get:
>
> link ../analog/model/device.v
>
> Obviously I can't compile this - I need to get all the "real" files into
> the top level directory - I'd have to follow the chain of links to get
> to the real file, then copy that file back to the top level directory.
> This will be tedious for the 100 or so files at the top level. Is there
> any automated way of doing this in tortoisesvn??

How would that work?
Such a link can point to any location. Even locations that don't exist
on windows (and the paths too are not windows-paths but linux paths).
I suggest you remove those hardlinks and restructure your working copy
setup. Hardlinks are really not the way to go here.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue May 8 21:34:55 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.