info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find out files edited by given user


From: johnywalkyra
Subject: Re: How to find out files edited by given user
Date: 21 Jan 2005 00:28:04 -0800
User-agent: G2/0.2

Hello Todd,

thanks for your suggestion, on the very beginning I've got the same
idea, but due to Visual Studio and nature of our source files there
must be certain writable files in the sandbox which we may not share
(mostly project and solution files plus some "developper license"
headers). I am rather looking for something that works on the server
side. I am sure there must be such a server script floating around...

Anyway thanks for you concern,

John Walker jr.


Todd Denniston wrote:
> If the way you are currently using watches, or the "reserved
checkout",
> capability of CVSNT marks the files read only until you issue `cvs
edit
> file`, then you should be able to go into your sandbox directory
structure
> and do a search for all files with read write enabled.  On unix this
would
> be fairly easy, I do not know of a tool to do it under MS.
>
> on unix (bash shell) I would do something like
> for i in `find . -type f`
> do
>   if [ -w $i ]
>   then
>     #file is write enabled
>     echo "I am editing $i"
>   fi
> done
>
> perhaps a bit of perl could be created to do it for you.
> http://www.xav.com/perl/lib/Pod/perlfunc.html#item_%2DX
> http://www.xav.com/perl/lib/Pod/perlfunc.html#item_stat
> --
> Todd Denniston
> Crane Division, Naval Surface Warfare Center (NSWC Crane)
> Harnessing the Power of Technology for the Warfighter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]