chromatic wrote:
On Friday 09 March 2007 05:00, Ron Blaschke wrote:

Attached patch replaces the backslashes with slashes on Windows.

Would using File::Spec be less fragile?

The problem basically boils down to matching a list of MANIFEST (UNIX?)
files with the (native file name, attribute) output of svn.  Not sure
how well specified the svn propget output is to begin with.

One way to make things more robust is to take the file names returned by
svn, make sure they are relative, parse them with File::Spec and put
them together with File::Spec::Unix.  That is, use the MANIFEST format
as canonical paths.

Another solution would be to pull every file name, from the initial list
and the Subversion output, through File::Spec->canonpath.

Ron

Reply via email to