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

regression from 1.5.6

From: Neels Janosch Hofmeyr <neels_at_elego.de>
Date: Wed, 10 Jun 2009 02:25:10 +0200

Hi all,

by accident, I've found a regression from 1.5.6.
It fails in trunk and 1.6.2, it succeeds in 1.5.6. And it's *really* basic
invocation.

(Haven't checked this out in detail yet.)

~Neels

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2360770

#!/bin/bash
# Bug found with 1.6.2

## UNCOMMENT AND CONFIGURE THIS:
#alias svn /path/to/bin/svn
#alias svnadmin /path/to/bin/svnadmin

echo "I'm gonna ERASE ./repos and ./wc (enter to proceed)"
read
svn --version
set -x
rm -rf repos wc
svnadmin create repos
svn co file://`pwd`/repos wc
cd wc

svn mkdir dir
echo fool > dir/foo
svn add dir/foo
svn ci -m log1

echo once > dir/foo
svn ci -m log2

svn rm dir
svn ci -m log3
echo "what, out of date?"

svn up

I'm gonna ERASE ./repos and ./wc (enter to proceed)
svn, version 1.6.2 (r37639)
   compiled Jun 6 2009, 00:33:12

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

+ rm -rf repos wc
+ svnadmin create repos
++ pwd
+ svn co file:///home/neels/hg/svn/tests/wtf_tc/repos wc
Checked out revision 0.
+ cd wc
+ svn mkdir dir
A dir
+ echo fool
+ svn add dir/foo
A dir/foo
+ svn ci -m log1
Adding dir
Adding dir/foo
Transmitting file data .
Committed revision 1.
+ echo once
+ svn ci -m log2
Sending dir/foo
Transmitting file data .
Committed revision 2.
+ svn rm dir
D dir/foo
D dir
+ svn ci -m log3
Deleting dir
subversion/libsvn_client/commit.c:867: (apr_err=160028)
svn: Commit failed (details follow):
subversion/libsvn_repos/commit.c:124: (apr_err=160028)
svn: Directory '/dir' is out of date
+ echo 'what, out of date?'
what, out of date?
+ svn up
   C dir
At revision 2.
Summary of conflicts:
  Tree conflicts: 1

Received on 2009-06-10 02:25:53 CEST

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.