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

Re: How to get diff information of a renamed file

From: vinay i <vinay.indresh_at_gmail.com>
Date: Sat, 27 Sep 2008 01:44:30 +0530

Yes. I did get that. I do not want to run the command if it is a directory.
Can I check whether an element is a directory before I decide to run the
below command?

-Vinay

On Sat, Sep 27, 2008 at 1:25 AM, <Paul_Koning_at_dell.com> wrote:

> *>*My next question is how to differentiate between a committed file and
> directory?
>
> >>More precisely, if you want to see the contents of a file deleted in
> rev 30, do "svn cat file_name_at_29". That says "look for the thing that in
> rev 29 had name "file_name".
>
> >I want to skip running "svn cat dir_name_at_29". Does svn has a
> functionality to check if the committed element is a file or directory?
>
> If you do that you get "svn: warning: 'dir_name' refers to a directory".
>
>
>
> paul
>
Received on 2008-09-26 22:14:53 CEST

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.