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

[PATCH] Add XFail test for status on added file with prop mods

From: Hyrum K. Wright <subversion_at_hyrumwright.org>
Date: 2006-04-20 17:21:39 CEST

When using trunk, status does not report property modifications on
locally added files. For example:

$ svnadmin create repo
$ svn co file://`pwd`/repo wc
Checked out revision 0.
$ cd wc
$
$ echo "This is a test, this is only a test" > test
$ svn add test
A test
$ svn ps svn:keywords Id test
property 'svn:keywords' set on 'test'
$ svn st
A test
$

At this point, the commit log message editor shows:
--This line, and those below, will be ignored--

AM test

which is different from the output given by status.

This behavior is inconsistent, and I would submit that the log message
editor is correct and the output from status is not. The attached patch
adds an XFail test to check the output of the status command. It
expects to see the local modification but because of the way status
currently works, it doesn't, hence the XFail.

-Hyrum

[[[
Add an XFail test for a status bug.

* subversion/tests/cmdline/stat_tests.py
  (status_add_with_props): New test.
  (test_list): Run it.
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Apr 20 17:23:18 2006

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.