[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Revert working copy changes
From: |
Richard Levitte - VMS Whacker |
Subject: |
Re: [Monotone-devel] Revert working copy changes |
Date: |
Sun, 01 May 2005 22:45:20 +0200 (CEST) |
In message <address@hidden> on Sun, 1 May 2005 14:46:21 -0400, Alvaro Herrera
<address@hidden> said:
alvherre> On Fri, Apr 29, 2005 at 04:35:05PM -0700, Shaun Jackman wrote:
alvherre> > How do I revert the changes to one file in my working copy? The CVS
phrase is...
alvherre> >
alvherre> > rm foo.c
alvherre> > cvs up foo.c
alvherre>
alvherre> monotone diff foo.c | patch -R -p0
alvherre>
alvherre> It works on CVS too, and it's cleaner than your approach ...
It's utter and complete crap, in CVS and monotone alike. The proper
command in CVS is:
cvs update -C foo.c
And in monotone:
monotone revert foo.c
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis