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

bug in svn export

From: Richard Lewis <rtf_at_jabble.com>
Date: 2004-07-07 15:31:07 CEST

Hi, there seems to be a bug in svn export -rBASE when the working copy
to be exported contains a directory and a file within that directory
that have been `svn add'ed but not committed. The attached bash script
repreoduces this.

#!/bin/bash

repos=$(pwd)/repository
wc=WC

echo "Creating rpeository at $repos"
svnadmin create $repos

echo "Getting working copy"
svn co file://$repos $wc

echo "Creating a new directory, and a new file in that directory"
cd $wc
svn mkdir dir
touch dir/file
svn add dir/file

echo
echo "Trying to export with svn export -rBASE . ../exported"
svn export -rBASE . ../exported

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 7 21:31:55 2004

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