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

"svn diff" coredumps in the certain conditions

From: Michael Samanov <ms_at_e-telecom.ru>
Date: 2003-12-01 17:49:28 CET

Hi!

I get a core dump when running command

svn diff --diff-cmd "/usr/bin/diff --exclude CVS"

I know, it's misprint, and the right is

svn diff --diff-cmd "/usr/bin/diff" -x "--exclude CVS"

but the previous line produces svn.core

By the way,

svn diff --diff-cmd /usr/bin/diff -x "--exclude CVS -I 'Id' -u"

does display lines with $Id

while

svn diff --diff-cmd /usr/bin/diff -x "--exclude CVS -I Id -u"

doesn't

So, we see that quotations inside quotations are passed as is and probably
we have no way to pass arguments with blanks to the diff command

My SVN version is:

bash-2.05b$ svn --version
svn, version 0.32.1 (r7497)
   compiled Nov 27 2003, 19:10:32

Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' schema

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 1 17:50:23 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.