Jörn Nettingsmeier schrieb:
> hi !
> 
> i've messed up a css file in a branch. i'd like to revert to an older
> revision. here's what i did
> 
> svn update -r <botched-revision-minus-one>
> lenya/webapp/resources/css/default.css
> 
> works. i now have the old and working version in my sandbox. but how do
> i commit it back? when i say svn diff, the file is not mentioned (since
> there is no diff, only it's at another revision), and i can't commit it
> either.
> 
> it would be easy to just hand-revert the changes and commit that, but i
> wonder what that would do to the repository metadata and any later
> merges... there surely is a way to say, "ditch the last commit and go
> back one revision for HEAD", right?

I don't think so - I guess that would contradict the versioning
principles. You can't go backwards in time :)

Maybe the simpliest way is to

svn export -r
cp over working copy
svn commit

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to