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

RE: Crazy 5-step plan to remove the cached pristine copy

From: Steven Velez <svelez_at_alventive.com>
Date: 2003-03-24 18:22:44 CET

Windows Trivia:

You can create hard links (not soft links) on NTFS drives using the windows
API. Even though there is no command-line interface to the functionality.

CreateHardLink
The CreateHardLink function establishes an NTFS hard link between an
existing file and a new file. An NTFS hard link is similar to a POSIX hard
link.

BOOL CreateHardLink(
  LPCTSTR lpFileName, // link name name
  LPCTSTR lpExistingFileName, // target file name
  LPSECURITY_ATTRIBUTES lpSecurityAttributes
);

Although... this approach would be limited to Windows NT, 2000, and XP. And
as far as other non-unix os'es go.. I am clue-less.

----------------------------
  .-. | Steven Velez
  oo| | Software Engineer
 /`'\ | alventive
(\_;/) | 678-202-2226

-----Original Message-----
From: Greg Hudson [mailto:ghudson@MIT.EDU]
Sent: Monday, March 24, 2003 11:57 AM
To: Paul Lussier
Cc: dev@subversion.tigris.org
Subject: Re: Crazy 5-step plan to remove the cached pristine copy

On Mon, 2003-03-24 at 11:49, Paul Lussier wrote:
> Just out of curiosity, how does this support work on non-UNIX based
> platforms? Windows-based systems have no notion of soft- or
> hard-linked files, do they?

Presumably, it doesn't, and you have copies instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 24 18:23:27 2003

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

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