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

Re: svn commit: r26607 - in trunk/subversion: include libsvn_client libsvn_wc svn tests/cmdline

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-09-16 08:49:28 CEST

"Joe Swatosh" <joe.swatosh@gmail.com> writes:
> So r26607 adds the directory, but not the file, r26607 adds the directory and
> the file. Basically, "svn add -N" meant add the directory only before r26607
> and now it appears to mean add the directory and any files in it, but no
> subdirectories. As long as this is intentional, no problem. If it is not
> intentional....

Yup, that's the intended behavior now, and the r26607 transcript looks
correct to me (and the r26606 transcript looks as I would have
expected, too -- the old -N behavior).

> Furthermore, assuming this was intentional, I started playing with
> this to see about modifying the test. Just added an intermediate
> directory, and it worked as I expected, but I was suprised by the
> message "Can't detect MIME type of non-file" in the "svn add":
>
> D:\SVN\26607>set MD=D:/SVN/26607
>
> D:\SVN\26607>svnadmin create repos
>
> D:\SVN\26607>svn mkdir -m "" file:///D:/SVN/26607/repos/wc
>
> Committed revision 1.
>
> D:\SVN\26607>svn co file:///D:/SVN/26607/repos/wc wc
> Checked out revision 1.
>
> D:\SVN\26607>md wc\dir
>
> D:\SVN\26607>md wc\dir\dir
>
> D:\SVN\26607>echo content 1>wc\dir\dir\file.txt
>
> D:\SVN\26607>svn add -N wc\dir
> A wc\dir
> svn: Can't detect MIME type of non-file 'wc\dir\dir'

Ah, that's a bug -- it shouldn't complain, it should just do the right
thing. I've filed issue #2931, will fix. Thanks!

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 16 08:45:50 2007

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

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