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

Re: Writing testcase for enable_translation in trans_tests.py: found inconsistency

From: <e.huelsmann_at_gmx.net>
Date: 2003-06-30 18:27:21 CEST

> e.huelsmann@gmx.net writes:
> > create file 'translate' (without the quotes)
> > add the file to subversion
> > set the svn:eol-style to 'native'
> > status
> >
> > when looking at the status output, it says:
> >
> > A translate
> >
> > Now the test goes on:
> >
> > commit
> > <end of relevant part of test>
> >
> > When I do this by hand, not supplying a log message with -m, the
> contents of
> > the svn-commit.tmp file shows:
> >
> > ---- everything .. etc
> >
> > AM translate
> >
> > ---end of file
> >
> > The output of status was different from svn-commit.tmp; which is the
> correct
> > one to check for in my test?
>
> Hmm, that seems odd. Can you post the exact sequence of SVN commands
> you issued, and the contents of the file (just in case), and the
> platform you're running on, and the version of Subversion?
>

Sure,

I wrote the following shell script to create the case from start to end:

#!/bin/bash

mkdir tmp_local
cd tmp_local
svnadmin create ./repos
mkdir project
touch project/a
svn import -m "Initial" project file://`pwd`/repos
svn co file://`pwd`/repos/ r1
cd r1
touch b
svn add b
svn propset svn:keywords "Id" b
echo '==== svn status'
svn status
echo '==== svn commit'
svn commit

====

key to the following script is not to provide a log messge for the 'svn
commit' command. If you don't, then you will see that the svn-commit.tmp file
contains the AM attributes for b, where it did not for the status command.

Hope this helps!

bye,

Erik.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 30 18:28:08 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.