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

RE: Symlinks from Windoze?

From: Monks, Peter <peter.monks_at_vignette.com>
Date: 2004-08-13 03:29:17 CEST

Sorry for the spam - I got a bit excited for a moment there. ;-)

Bonus question: what if linky points to a directory? Will it be
replaced with a real Windoze directory (complete with files and sub-
directories) upon commit?

Cheers,
Peter

----------------------------------------------------------------------
Peter Monks http://www.sydneyclimbing.com/
pmonks_at_sydneyclimbing.com http://www.geocities.com/yosemite/4455/
----------------------------------------------------------------------

> -----Original Message-----
> From: Monks, Peter
> Sent: Thursday, 12 August 2004 6:27pm
> To: 'Ben Collins-Sussman'
> Cc: users@subversion.tigris.org
> Subject: RE: Symlinks from Windoze?
>
>
> G'day Ben,
>
> Ooooh nice!! And after I've done the commit on the Windoze box, linky
> will be repopulated with the contents of foo.txt? Or do I need to
> update it after I've committed?
>
> Cheers,
> Peter
>
> ----------------------------------------------------------------------
> Peter Monks http://www.sydneyclimbing.com/
> pmonks_at_sydneyclimbing.com http://www.geocities.com/yosemite/4455/
> ----------------------------------------------------------------------
>
>
>
> > -----Original Message-----
> > From: Ben Collins-Sussman [mailto:sussman@collab.net]
> > Sent: Thursday, 12 August 2004 6:17pm
> > To: Monks, Peter
> > Cc: users@subversion.tigris.org
> > Subject: Re: Symlinks from Windoze?
> >
> >
> > On Thu, 2004-08-12 at 20:06, Monks, Peter wrote:
> > > G'day everyone,
> > >
> > > Is there a plan afoot to allow the creation of symlinks in the
> > > repository, but from a Windoze client?
> > >
> > > What I'm envisaging is a command something akin to "svn
> > cp", but where
> > > the copy results in a symlink being written into the
> > repository rather
> > > than a separately versioned copy of the file / directory in
> > question.
> > > And of course once the symlink is in the repositiry, it would be
> > > indistinguishable from a symlink that was created via a
> > *nix client,
> >
> > In theory, you can already do this from windows (haven't tried this
> > yet):
> >
> > > echo "link foo.txt" > linky
> > > svn add linky
> > > svn propset svn:special "*" linky
> > > svn commit -m "creating linky as a symlink to foo.txt"
> >
> >
> > Now, when you do an update or checkout on unix, you should
> > get a symilnk
> > named 'linky' that points to foo.txt.
> >
> >
> >
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 13 03:29:54 2004

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