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

svn diff does not ignore whitespaces

From: Olaf Hering <olh_at_suse.de>
Date: 2003-03-21 09:01:21 CET

Hi,

should this command ignore the white spaces? client has revision 5394

svn diff -x -pubBw -r 5411:5418

Index: subversion/tests/clients/cmdline/commit_tests.py
===================================================================
--- subversion/tests/clients/cmdline/commit_tests.py (revision 5411)
+++ subversion/tests/clients/cmdline/commit_tests.py (revision 5418)
@@ -1589,21 +1585,19 @@
     # file4_path : Item(status='A ', repos_rev=2, wc_rev=0),
     })

- if svntest.actions.run_and_verify_commit(wc_dir,
- expected_output,
- expected_status,
- None,
- None, None,
- None, None,
- '-N',
- os.path.join(wc_dir, file1_path),
- os.path.join(wc_dir, dir1_path),
- os.path.join(wc_dir, file2_path),
- os.path.join(wc_dir, file3_path),
- os.path.join(wc_dir, dir2_path),
- os.path.join(wc_dir, file4_path)):
- raise svntest.Failure
-
+ svntest.actions.run_and_verify_commit(wc_dir,
+ expected_output,
+ expected_status,
+ None,
+ None, None,
+ None, None,
+ '-N',
+ os.path.join(wc_dir, file1_path),
+ os.path.join(wc_dir, dir1_path),
+ os.path.join(wc_dir, file2_path),
+ os.path.join(wc_dir, file3_path),
+ os.path.join(wc_dir, dir2_path),
+ os.path.join(wc_dir, file4_path))

 #----------------------------------------------------------------------
 # Regression for #1017: ra_dav was allowing the deletion of out-of-date

Hmm, and looking closer to it, -p is also ignored. What RTFM do I need?

 svn help diff
  -x [--extensions] arg : pass ARG as bundled options to GNU diff

-- 
USB is for mice, FireWire is for men!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 21 09:02:10 2003

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.