public inbox for [email protected]  
help / color / mirror / Atom feed
Quick help with CVS?
4+ messages / 4 participants
[nested] [flat]

* Quick help with CVS?
@ 2003-10-22 21:49  Josh Berkus <[email protected]>
  0 siblings, 2 replies; 4+ messages in thread

From: Josh Berkus @ 2003-10-22 21:49 UTC (permalink / raw)
  To: pgsql-docs

Folks,

I can't seem to find the CVS command for telling a single file to revert to 
the version in the repository.  Help?

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Quick help with CVS?
@ 2003-10-22 22:03  Peter Eisentraut <[email protected]>
  parent: Josh Berkus <[email protected]>
  1 sibling, 1 reply; 4+ messages in thread

From: Peter Eisentraut @ 2003-10-22 22:03 UTC (permalink / raw)
  To: Josh Berkus <[email protected]>; +Cc: pgsql-docs

Josh Berkus writes:

> I can't seem to find the CVS command for telling a single file to revert to
> the version in the repository.  Help?

It would normally be cvs update -A filename, but the postgresql.org CVS
server doesn't support this.  So I suggest 'rm && cvs update'.

-- 
Peter Eisentraut   [email protected]




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Quick help with CVS?
@ 2003-10-22 22:08  Roberto Mello <[email protected]>
  parent: Josh Berkus <[email protected]>
  1 sibling, 0 replies; 4+ messages in thread

From: Roberto Mello @ 2003-10-22 22:08 UTC (permalink / raw)
  To: Josh Berkus <[email protected]>; +Cc: pgsql-docs

On Wed, Oct 22, 2003 at 02:49:27PM -0700, Josh Berkus wrote:
> Folks,
> 
> I can't seem to find the CVS command for telling a single file to revert to 
> the version in the repository.  Help?

If you don't care about yor modifications, you can just rm the file then
"cvs update -Pd" to re-add it from the repository.

There are other ways too. See the CVS red book (available online).

-Roberto

-- 
+----|        Roberto Mello   -    http://www.brasileiro.net/  |------+
+       Computer Science Graduate Student, Utah State University      +
+       USU Free Software & GNU/Linux Club - http://fslc.usu.edu/     +
:.:..::..:::.:::::..:..:.:..:..::::.:...:: => BRAILE TAGLINE!



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Quick help with CVS?
@ 2003-10-23 00:16  Marc G. Fournier <[email protected]>
  parent: Peter Eisentraut <[email protected]>
  0 siblings, 0 replies; 4+ messages in thread

From: Marc G. Fournier @ 2003-10-23 00:16 UTC (permalink / raw)
  To: Peter Eisentraut <[email protected]>; +Cc: Josh Berkus <[email protected]>; pgsql-docs



On Thu, 23 Oct 2003, Peter Eisentraut wrote:

> Josh Berkus writes:
>
> > I can't seem to find the CVS command for telling a single file to revert to
> > the version in the repository.  Help?
>
> It would normally be cvs update -A filename, but the postgresql.org CVS

Huh?  Works for me:

%cvs update -rREL7_4_BETA4 HISTORY
U HISTORY
%cvs status HISTORY
===================================================================
File: HISTORY           Status: Up-to-date

   Working revision:    1.219   Thu Oct 23 00:16:19 2003
   Repository revision: 1.219   /cvsroot/pgsql-server/HISTORY,v
   Sticky Tag:          REL7_4_BETA4 (revision: 1.219)
   Sticky Date:         (none)
   Sticky Options:      (none)

%cvs update -A HISTORY
U HISTORY
%cvs status HISTORY
===================================================================
File: HISTORY           Status: Up-to-date

   Working revision:    1.222   Thu Oct 23 00:16:29 2003
   Repository revision: 1.222   /cvsroot/pgsql-server/HISTORY,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)






^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2003-10-23 00:16 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-22 21:49 Quick help with CVS? Josh Berkus <[email protected]>
2003-10-22 22:03 ` Peter Eisentraut <[email protected]>
2003-10-23 00:16   ` Marc G. Fournier <[email protected]>
2003-10-22 22:08 ` Roberto Mello <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox