public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: David Rothenberger <daveroth@acm.org>
To: cygwin@cygwin.com
Subject: Re: svn1.9.1, segmentation fault when calling "svn diff -c .", on MS Windows7
Date: Thu, 10 Sep 2015 17:29:00 -0000	[thread overview]
Message-ID: <55F1BD7E.3090808@acm.org> (raw)
In-Reply-To: <CALeH8PASOFdhH5b46oAPahGerTgbacGO0hot84hyWSZgxFJXRA@mail.gmail.com>

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

  parent reply	other threads:[~2015-09-10 17:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10  7:24 Wb Yang
2015-09-10  7:30 ` Wb Yang
2015-09-10 17:29 ` David Rothenberger [this message]
2015-09-11  9:31 Wb Yang
2015-09-11 17:14 ` David Rothenberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55F1BD7E.3090808@acm.org \
    --to=daveroth@acm.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).