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

directory problem on 'svn ci'

From: Paul Maier <svn-user_at_web.de>
Date: Sat, 5 Feb 2011 18:19:47 +0100

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_at_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.
>
>
Received on 2011-02-05 18:20:41 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.