svn1.9.1, segmentation fault when calling "svn diff -c .", on MS Windows7

David Rothenberger daveroth@acm.org
Thu Sep 10 17:29:00 GMT 2015


Wb Yang wrote:
> Segmentation fault happens 100% when calling:
> 
> svn diff -c .

"svn diff -c ." is not a valid command. The "-c" switch expects a
numeric argument. I get an error message when I try it, not a segfault.

Does this recipe work for you?

% mkdir /tmp/svn
% cd /tmp/svn
% svnadmin create repos
% r=file:///tmp/svn/repos
% svn co $r work
Checked out revision 0.
% cd work
% date > file
% svn add file
A         file
% svn commit -m 1
Adding         file
Transmitting file data .done
Committing transaction...
Committed revision 1.
% date > file
% svn diff -c .
svn: E205000: Non-numeric change argument (.) given to -c
% svn diff -c 1
Index: file
===================================================================
--- file        (nonexistent)
+++ file        (revision 1)
@@ -0,0 +1 @@
+Thu, Sep 10, 2015 10:23:38 AM


-- 
David Rothenberger  ----  daveroth@acm.org

Cygwin Subversion maintainer


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list