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

Re: PATCH: symlink support for svn_load_dirs.pl

From: Michael W Thelen <mike_at_pietdepsi.com>
Date: 2005-03-05 01:30:51 CET

Bastiaan Bakker wrote:
> After looking at svn_load_dirs.pl some more, I realized that the way it
> detects updated files doesn't work for symlinks: rather than comparing
> the contents of the old and new revision of the file it should compare
> where the old and new symlinks point to.
> Attached is version 1.2 of the symlink patch which solves this by
> adapting digest_hash_file: for symlinks it returns the link as digest
> instead of an MD5 over the contents of the file.
> Limitations of the current patch:
> 1) can't handle dangling symlink. Mainly caused by the fact that the
> diff util can't handle them
> 2) can't handle regularing files becoming symlinks and vice versa.

Thank you for the patch, I've filed it as issue #2241:

Michael W Thelen
It is a mistake to think you can solve any major problems just with
potatoes.       -- Douglas Adams

Received on Sat Mar 5 01:33:16 2005

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.