id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18	"bzr to svn conversion fail with ""svn: Are all the targets part of the same working copy?svn: Working copy '/tmp/tailor_dir/work/dir/temp/temp2' is missing or not locked"""	misc@…	lele	"This bug is a variation of #17.
Instead of 
{{{
bzr mkdir temp
touch temp/file
}}}
I use :
{{{
bzr mkdir temp
bzr mkdir temp/temp2
touch temp/temp2/file
}}}
in the shell script, and it give a different error message.

Here is the output of the shell script ( attached to the bug report ).
{{{
/tmp $ sh -x tail.sh            
+ mkdir /tmp/bzr
+ cd /tmp/bzr
+ bzr init
+ bzr mkdir temp
added temp
+ bzr mkdir temp/temp2
added temp/temp2
+ touch temp/temp2/file
+ touch file_2
+ bzr add temp/ file_2
added file_2
added temp/temp2/file
+ bzr commit -m Init
+ bzr mkdir dir
added dir
+ bzr commit dir -m 'dir creation'
+ echo toto
+ bzr mv temp dir/temp
temp => dir/temp
+ echo toto
+ bzr commit -m 'modify file_2, temp/file ,and move temp to dir/temp'
+ mkdir ../tailor_dir/
+ cd ../tailor_dir/
+ echo '[DEFAULT]
verbose = True

[project]
target = svn:target
start-revision = INITIAL
root-directory = /tmp/tailor_dir
state-file = tailor.state
source = bzr:source
subdir = work

[bzr:source]
repository = /tmp/bzr

[svn:target]
module = /
; local in the name here is not related to local of the module
repository = file:///tmp/svn/'
+ tailor -D -v --configfile /tmp/tailor_dir/convert.ini
16:23:36 [I] Bootstrapping ""project"" in ""/tmp/tailor_dir""
16:23:36 [I] $ svn ls file:///tmp/svn/
svn: Unable to open an ra_local session to URL
svn: Le dépôt 'file:///tmp/svn' n'a pu être ouvert
16:23:36 [W] [Status 1]
16:23:36 [I] $ svnadmin create --fs-type fsfs /tmp/svn/
16:23:36 [I] [Ok]
16:23:36 [I] $ svn co --quiet file:///tmp/svn// /tmp/tailor_dir/work
16:23:37 [I] [Ok]
16:23:37 [I] Extracting rmisc@crovax.ephaone.org-20051119152329-968f48d55c75eaf9 out of ""_Branch(u'/tmp/bzr')"" in ""/tmp/tailor_dir/work""...
16:23:37 [I] /tmp/tailor_dir/work $ svn add --quiet --no-auto-props  ./temp ./file_2
16:23:37 [I] [Ok]
16:23:37 [I] /tmp/tailor_dir/work $ svn add --quiet --no-auto-props  ./temp/temp2
16:23:37 [I] [Ok]
16:23:37 [I] /tmp/tailor_dir/work $ svn add --quiet --no-auto-props  ./temp/temp2/file
16:23:37 [I] [Ok]
16:23:37 [I] /tmp/tailor_dir/work $ svn commit --file /home/misc/tmp/tailoru_Kygtsvn .
16:23:38 [I] [Ok]
Output stream:
Adding         file_2
Adding         temp
Adding         temp/temp2
Adding         temp/temp2/file
Transmitting file data ..
Committed revision 1.
16:23:38 [I] /tmp/tailor_dir/work $ svn update --quiet --revision 1
16:23:39 [I] [Ok]
16:23:39 [I] Bootstrap completed
16:23:39 [I] Updating ""project"" in ""/tmp/tailor_dir""
16:23:39 [I] Cached information about 2 pending changesets
16:23:39 [I] Applying pending upstream changesets
16:23:39 [I] Changeset ""misc@crovax.ephaone.org-20051119152332-622aff3041703a8a""
16:23:39 [I] Log message: dir creation
16:23:39 [I] Applying ""misc@crovax.ephaone.org-20051119152332-622aff3041703a8a"" to current r1
16:23:39 [I] 0 conflicts encountered.

16:23:39 [I] /tmp/tailor_dir/work $ svn add --quiet --no-auto-props  dir
16:23:39 [I] [Ok]
16:23:39 [I] /tmp/tailor_dir/work $ svn add --quiet --no-auto-props  dir
16:23:39 [I] [Ok]
16:23:39 [I] /tmp/tailor_dir/work $ svn commit --file /home/misc/tmp/tailorf45PhXsvn dir
16:23:40 [I] [Ok]
Output stream:
Adding         dir

Committed revision 2.
16:23:40 [I] /tmp/tailor_dir/work $ svn update --quiet --revision 2
16:23:41 [I] [Ok]
16:23:41 [I] -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
16:23:41 [I] Changeset ""misc@crovax.ephaone.org-20051119152334-539f608b15cd2a2b""
16:23:41 [I] Log message: modify file_2, temp/file ,and move temp to dir/temp
16:23:41 [I] Applying ""misc@crovax.ephaone.org-20051119152334-539f608b15cd2a2b"" to current r2
16:23:41 [I] 0 conflicts encountered.

16:23:41 [I] /tmp/tailor_dir/work $ svn add --quiet --no-auto-props  dir
16:23:41 [I] [Ok]
16:23:41 [I] /tmp/tailor_dir/work $ svn mv --quiet temp dir/temp
svn: Le chemin 'temp' n'existe pas
16:23:41 [W] [Status 1]
16:23:41 [I] /tmp/tailor_dir/work $ svn remove --quiet --force temp
16:23:41 [I] [Ok]
16:23:41 [I] /tmp/tailor_dir/work $ svn add --quiet --no-auto-props  dir/temp
16:23:41 [I] [Ok]
16:23:41 [I] /tmp/tailor_dir/work $ svn commit --file /home/misc/tmp/tailorfsUsj5svn dir/temp dir/temp/temp2/file file_2 temp
16:23:41 [W] [Status 1]
Error stream:
svn: Are all the targets part of the same working copy?
svn: Working copy '/tmp/tailor_dir/work/dir/temp/temp2' is missing or not locked
16:23:41 [C] Couldn't reply changeset
16:23:41 [I] 1 pending changesets in state file
16:23:41 [C] Upstream change application failed
Failure applying upstream changes: /tmp/tailor_dir/work $ svn commit --file /home/misc/tmp/tailorfsUsj5svn dir/temp dir/temp/temp2/file file_2 temp returned status 1 saying
svn: Are all the targets part of the same working copy?
svn: Working copy '/tmp/tailor_dir/work/dir/temp/temp2' is missing or not locked
}}}

If I run 
{{{ 
 /tmp/tailor_dir/work $ svn commit  dir/temp dir/temp/temp2/file 
}}}

it seems to work. 
If i add file_2 or temp, it give the same error message."	defect	closed	major	VersionOne	tailor	0.9	fixed	svn bzr	
