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

Re: svn commit: r1197998 - in /subversion/trunk/subversion: libsvn_client/patch.c tests/cmdline/patch_tests.py

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 05 Nov 2011 22:11:50 +0200

On Saturday, November 05, 2011 5:54 PM, stsp_at_apache.org wrote:
> Author: stsp
> Date: Sat Nov 5 17:54:31 2011
> New Revision: 1197998
>
> URL: http://svn.apache.org/viewvc?rev=1197998&view=rev
> Log:
> Make 'svn patch' ignore "/dev/null" patch target paths to improve
> compatibility with patches generated by git. Git uses "/dev/null" as the
> old name for newly added targets, and as the new name for deleted targets.
>
> Reported by: Konstantin Kolinko
> http://svn.haxx.se/users/archive-2011-11/0126.shtml
>
> * subversion/libsvn_client/patch.c
> (choose_target_filename): If one of the filenames is "/dev/null",
> use the other filename.
>
> * subversion/tests/cmdline/patch_tests.py
> (patch_dev_null, test_list): New test.

Does anything (git, svn, etc) generate "NUL" instead of "/dev/null" when on windows?
Received on 2011-11-05 21:12:22 CET

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.