subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Maier" <svn-u...@web.de>
Subject directory problem on 'svn ci'
Date Sat, 05 Feb 2011 17:19:47 GMT
Hi!

I'm running 1.6.13 on Windows, and I can confirm that the temp file is
created one level up relatve to the current directory (unless I am in 
the top level dir of the WC: then the temp file is created in that dir).

For me, SVN is able to read te temp file at the place where it was put 
and edited.

Reproduction script:
svn mkdir 1/a
svn ci -m ''
cd 1/a
svn mkdir x
svn ci --editor-cmd vi
... leave the vi open, and open another window; there:
cd 1  # one level up 
ls -l

gives: 
drwxr-xr-x+ 1 Test2 Kein     0 05.02.2011 18.13 .svn/
drwxr-xr-x+ 1 Test2 Kein     0 05.02.2011 18.13 a/
-rwxr-xr-x+ 1 Test2 Kein    69 05.02.2011 18.13 svn-commit.tmp

ls -l a  # no temp file in directory a:

drwxr-xr-x+ 1 Test2 Kein 0 05.02.2011 18.13 .svn/
drwxr-xr-x+ 1 Test2 Kein 0 05.02.2011 18.13 x/


Ryan: Hope that helps.

Paul
 

> -----Urspr√ľngliche Nachricht-----
> Von: Ryan Schmidt [mailto:subversion-2011a@ryandesign.com] 
> Gesendet: Donnerstag, 27. Januar 2011 04:22
> An: Daniel Shahaf
> Cc: Andreas Wolff; Subversion Users
> Betreff: Re: directory problem on 'svn ci'
> 
> On Jan 26, 2011, at 12:19, Daniel Shahaf wrote:
> > Ryan Schmidt wrote on Wed, Jan 26, 2011 at 09:12:44 -0600:
> >> If I am in a subdirectory of that working copy and I commit,
> >> svn-commit.tmp is created in the parent directory. For example, if
> >> I am in /path/to/wc/foo/bar and I commit, svn-commit.tmp 
> is created in
> >> /path/to/wc/foo.
> > 
> > The directory of the tempfile depends on the invocation.  IIRC it's
> > different for 'cd wc/sub/dir/; svn ci foo' and 'svn ci 
> wc/sub/dir/' and
> > 'svn ci wc/sub/dir/foo'.
> 
> In all my tests above, I used "cd" to get to the directory in 
> question, then "svn ci" without specifying a path.
> 
> 


Mime
View raw message