[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: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-09-16 06:01:15 CEST

Hi Karl

On 9/15/07, Joe Swatosh <joe.swatosh@gmail.com> wrote:
> Karl,
>
> On 9/15/07, Karl Fogel <kfogel@red-bean.com> wrote:
> > "Joe Swatosh" <joe.swatosh@gmail.com> writes:

>
> command line transcript approximating the test actions (stupid typos edited)

Okay, only most of the stupid typos. :-) Corrected below.

> r26606
D:\SVN\26606>svnadmin create repos

D:\SVN\26606>svn mkdir -m "" file:///D:/SVN/26606/repos/wc

Committed revision 1.

D:\SVN\26606>svn co file:///D:/SVN/26606/repos/wc wc
Checked out revision 1.

D:\SVN\26606>md wc\dir

D:\SVN\26606>echo content 1>wc\dir\file.txt

D:\SVN\26606>svn add -N wc\dir
A wc\dir

D:\SVN\26606>svn commit -m "" wc
Adding wc\dir

Committed revision 2.

D:\SVN\26606>svn ls file:///D:/SVN/26606/repos/wc/dir

> r26607
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>echo content 1>wc\dir\file.txt

D:\SVN\26607>svn add -N wc\dir
A wc\dir
A wc\dir\file.txt

D:\SVN\26607>svn commit -m "" wc
Adding wc\dir
Adding wc\dir\file.txt
Transmitting file data .
Committed revision 2.

D:\SVN\26607>svn ls file:///D:/SVN/26607/repos/wc/dir
file.txt

> 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....
>

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'

D:\SVN\26607>svn commit -m "" wc
Adding wc\dir

Committed revision 2.

D:\SVN\26607>svn ls file:///D:/SVN/26607/repos/wc/dir/dir
svn: URL 'file:///D:/SVN/26607/repos/wc/dir/dir' non-existent in that revision

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 16 05:57:37 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.