Re: CVS Question
| From: | Derick Rethans | Date: | Mon, 28 Apr 2003 16:48:45 +0000 |
| Subject: | Re: CVS Question | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352933@lists.php.net to get a copy of this message | ||
On Mon, 28 Apr 2003, Adam Voigt wrote:
> How exactly would I rollback a file version
> using the command line version of CVS?
>
> I'm trying to roll back from version 1.3 to 1.2,
> to re-apply my change with the proper entity,
> any ideas?
The best way to revert is:
cvs diff -r 1.3 -r 1.2 > /tmp/patch
patch -p0 < /tmp/patch
Derick
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------