You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Jörg Schaible <jo...@gmx.de> on 2014/01/01 18:52:51 UTC

Re: [help] restoring javadocs to site

Phil Steitz wrote:

> 
> 
>> On Dec 30, 2013, at 5:22 PM, Jörg Schaible <jo...@gmx.de> wrote:
>> 
>> Hi Phil,
>> 
>> Phil Steitz wrote:
>> 
>>> I ran with scissors and tried mvn site-deploy and it seems to have
>>> (sic) *deleted* the previous javadoc versions from the site svn.
>>> How can I get these back?  How can I avoid this trauma each time I
>>> try to publish the site?  I guess I can just cp the local mvn site
>>> gen to a direct checkout the svn pub-sub.  Is that what others do?
>>> Sorry I probably missed good instructions on this somewhere.
>> 
>> if you want to undo the change in subversion, you may take a copy of the
>> last existing version of a folder and copy it into trunk again (works of
>> you have deleted "https://path/to/folder"):
>> 
>> svn cp https://path/to/folder@4711 https://path/to/folder
> 
> Thanks! What is the best way to find the last rev number of the deleted
> stuff?

Actually it is enough to look for the rev number that contains the deletion 
and decrement it by 1.

 svn log -l 10

Should help to identify it.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org