[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-issues
Subject: =?UTF-8?B?W0lzc3VlIDIyMjZdIE5ldyAtIGV4cG9ydGluZyBkZWxldGVkIGRpcg==?=
From: moschny () tigris ! org
Date: 2005-02-21 16:44:04
Message-ID: 20050221164404.17796.qmail () tigris ! org
[Download RAW message or body]
http://subversion.tigris.org/issues/show_bug.cgi?id=2226
Issue #:|2226
Summary:|exporting deleted directories from wc produces empty
|dirs
Component:|subversion
Version:|trunk
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|cmdline client
Assigned to:|issues@subversion
Reported by:|moschny
------- Additional comments from moschny@tigris.org Mon Feb 21 08:44:03 -0800 2005 -------
There's a bug in the export subcmd. When exporting a locally modified working
copy, it exports deleted directories as empty directories.
The following script (to be executed in an empty dir) shows the problem:
#! /bin/bash
# setup
svnadmin create repo
svn co file://$(pwd)/repo work
mkdir -p work/dir1 work/dir2
touch work/dir1/file1 work/dir2/file2
svn add work/dir1 work/dir2
svn commit -m '' work
# now change the working copy
svn rm work/dir1
echo "test" >> work/dir2/file2
# and export
svn export work export
# check result
find export
The output from the find command shows:
export
export/dir1
export/dir2
export/dir2/file2
In the exported tree, file2 correctly reflects the (uncommitted) state of the
working copy. dir1 however, although empty, should not be there at all.
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@subversion.tigris.org
For additional commands, e-mail: issues-help@subversion.tigris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic