[Python-checkins] python/dist/src/Lib urllib2.py,1.42,1.43

Raymond Hettinger python@rcn.com
Sat, 17 May 2003 15:28:54 -0400


> Is it always to back out a change and then check in a modified version 
> with the same number?  Or is it okay to just do a separate checkin that 
> will fix this?  If the former I will have to look up the commands on how 
> to do that.

In this case, just make the fixes and check them in normally.
This is the easiest way and it lets you leave in the parts that
were just fine.

For reverting a complex checkin, you can generate a reverse delta:
    cvs diff -r 1.43 -r 1.42 urllib2.py > revert.diff
    patch urllib2.py revert.diff
    cvs ci -m "Revert to 1.42" urllib2.py

Thanks for getting to it so quickly :-)


Raymond