Re: shooting one's self in the foot.

2001-04-04 Thread Ross Burton

On 04 Apr 2001 16:40:28 +0100, [EMAIL PROTECTED] wrote:

>  cvs --what-did-I-change wwwroot
> 
> And get a simple list of filenames that changed. I can then review if
> I want to commit or abandon the changes. If I use:

Sounds like cvs update to me.  Good options to CVS include -q to stop
cvs listing the directories as it traverses the tree, and -n to stop cvs
bringing in patches from the tree (so it only lists what has changed,
doesn't patch any local files to reflect later changes).

Ross Burton
-- 
Ross Burton Software Engineer
OneEighty Software Ltd  Tel: +44 20 8263 2332
The Lansdowne Building  Fax: +44 20 8263 6314
2 Lansdowne Road[EMAIL PROTECTED]
Croydon, Surrey CR9 2ER, UK http://www.180sw.com./

Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act OneEighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: shooting one's self in the foot.

2001-04-04 Thread Larry Jones

[EMAIL PROTECTED] writes:
> 
> The use of samba means I can check a file out of the repository on
> Unix (local) to a (local) sandbox and access the files on Unix (local)
> or W2K (samba) "I DON'T SHARE THE REPOSITORY" (actually I do ... but
> nobody has access :-)

Not sharing the reppository is good; sharing the working directories is
still bad.  Sooner or later you'll run afoul of the different line
ending conventions, and Samba directories usually have screwey
permission problems.

> Second doing most CVS stuff from the Unix box works just fine. Doing
> similar things via pserver causes odd problems.
> 
>   cvs -d release
> 
> Does nothing on NT (it prints messages)

What kind of messages -- error messages?  That's probably because of
Samba.

> What I really want to do is:
> 
>  cvs --what-did-I-change wwwroot
> 
> And get a simple list of filenames that changed. I can then review if
> I want to commit or abandon the changes.

cvs -nq update wwwroot

>  cvs -d release 
> 
>  cvs checkout  --- Since other developers may have changed 
>(e.g deleted)
>   file/directory structure.

There's no need to release and re-checkout, just update with -d.

-Larry Jones

Whatever it is, it's driving me crazy! -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: shooting one's self in the foot.

2001-04-04 Thread Chuck . Irvine

Another method is cvs diff, something like:

cvs -q diff --brief

This gives you a little less extraneous data than does update.

Chuck

> -Original Message-
> From: r.burton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 11:00 AM
> To: graeme.vetterlein
> Cc: info-cvs
> Subject: Re: shooting one's self in the foot.
> 
> 
> On 04 Apr 2001 16:40:28 +0100, [EMAIL PROTECTED] wrote:
> 
> >  cvs --what-did-I-change wwwroot
> > 
> > And get a simple list of filenames that changed. I can then 
> review if
> > I want to commit or abandon the changes. If I use:
> 
> Sounds like cvs update to me.  Good options to CVS include -q to stop
> cvs listing the directories as it traverses the tree, and -n 
> to stop cvs
> bringing in patches from the tree (so it only lists what has changed,
> doesn't patch any local files to reflect later changes).
> 
> Ross Burton
> -- 
> Ross Burton Software Engineer
> OneEighty Software Ltd  Tel: +44 20 8263 2332
> The Lansdowne Building  Fax: +44 20 8263 6314
> 2 Lansdowne Road[EMAIL PROTECTED]
> Croydon, Surrey CR9 2ER, UK http://www.180sw.com./
> 
> Under the Regulation of Investigatory Powers (RIP) Act 2000 together
> with any and all Regulations in force pursuant to the Act OneEighty
> Software Ltd reserves the right to monitor any or all incoming or
> outgoing communications as provided for under the Act
> 
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 



Re: shooting one's self in the foot.

2001-04-04 Thread Eric Siegerman

On Wed, Apr 04, 2001 at 12:16:21PM -0400, Larry Jones wrote:
> [EMAIL PROTECTED] writes:
> >  cvs -d release 
> > 
> >  cvs checkout--- Since other developers may have 
>changed (e.g deleted)
> > file/directory structure.
> 
> There's no need to release and re-checkout, just update with -d.

-dP actually, to pick up deleted directories.

Of course, that requires you to put something in any directories
that are intentionally empty, since CVS can't tell the difference
between those and ones that have been deleted.

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: shooting one's self in the foot.

2001-04-04 Thread Eric Siegerman

On Wed, Apr 04, 2001 at 11:27:28AM -0500, [EMAIL PROTECTED] wrote:
> Another method is cvs diff, something like:
> 
> cvs -q diff --brief
> 
> This gives you a little less extraneous data than does update.

But it:
  1. doesn't list the junk files
  2. doesn't list the files that other people have changed in the meantime
  3. still spits out several lines for each changed one, most of which are noise

"cvs -nq update" does (1) and (2), and doesn't do (3).  I'd argue
that the extra info it's giving you isn't "extraneous", but quite
important (with the possible exception of the junk files --
sometimes I don't care about those; other times I do -- but he
said he wants to see them, so they're not noise to him).

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
- RFC 1925 (quoting an unnamed source)

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs