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

RE: Revision control on a single file

From: Yanghui Bian <ybi_at_vitesse.com>
Date: 2003-07-10 22:55:29 CEST

Great point. I did a simple test in a hurry and it works in CYGWIN.
Combine with cmpilato's tip, there seems to be a good solution. Thank
you all.

-----Original Message-----
From: Tim Hawkins [mailto:tim@timhawkins.co.uk]
Sent: Thursday, July 10, 2003 8:50 PM
To: cmpilato@collab.net; Yanghui Bian
Cc: dev@subversion.tigris.org
Subject: RE: Revision control on a single file

I don't know if this would work, but it's worth a try

Windows 2000 and up have support for both links and mounts in the
filesystem
(NTFS5), its just that there are no Userland tools for setting them up
in
the standard distribution. There are some tools in the win2k Resource
kit
for doing this but that costs money, and I found a tool called
"Junction" on
sysinternals.com that does mounts and directory links. I have checked
the
APR source and the Win32 Filesystem access code seems to handle them and
return them as APR_LNK's. A scan around the internet turned up several
tools
for handling these <JUNCTIONS> or "reparse points" in widows termology.

It may be possible to set up a directory of links to other files and
directories and version them. Note this is NOT the same as the shortcut
(.lnk) files that the shell uses, this is a filesystem level link
mechanism.

How does subversion handle links in the wc on linux?

Alternatively does anybody know if cygwin supports this?

-----Original Message-----
From: cmpilato@collab.net [mailto:cmpilato@collab.net]
Sent: 10 July 2003 19:12
To: Yanghui Bian
Cc: dev@subversion.tigris.org
Subject: Re: Revision control on a single file

"Yanghui Bian" <ybi@vitesse.com> writes:

> Hello,
> I want to keep track of several single files scattered around my disk.
> e.g: windows autoexec.bat, emacs dot file and more ...
> I cannot figure out a good way in SVN.
> For .emacs file, I could just put the whole home directory to SVN
> repository, though not so good.
> But for autoexec.bat, it seems to be impossible as it is in window C:
> directory.
> Any hints? Thanks.

- Make an empty subversion repository somewhere.
- Check out that repos into some temporary place.
- Now move the .svn/ subdir out of that working copy into C:\.

Tada! You C:\ is now under version control.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 22:56:57 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.