RE: How to correct Bogus Date on repository
From: Puig, Juan <JPuig_at_adium.com.uy>
Date: Wed, 19 Aug 2009 09:53:13 -0300
SOLVED.
Many thanks Ryan, but I had to take this steps to finally get the svnadmin propedit working:
1) Enable a pre-revprop-change hook script to enable properties modifications on the repository server.
1a) Edit the file pre-revprop-change.tmpl in the hook directory of the repository, make it return 0 and add a message for testing in the form: echo "Message yours" >&2
1b) Save this file as pre-revprop-change (without .tmpl or .sh)
1c) Allow access to this file: chmod 755 pre-revprop-change
1d) Test: ./pre-revprop-change
2) Set the Svn Editor. Run set SVN_EDITOR="notepad". This will set the notepad as the editor for modifying the date.
3) Modify the date property.
3a) svnadmin propget --revprop -r 99 svn:date http://myserver/repos/myrepo
This will prompt the notepad with the date of the revision 99 from the repository, not a working copy (this is why I set http://...), which in my case is correct, I copy this date.
3b) svnadmin propedit --revprop -r 101 svn:date http://myserver/repos/myrepo
This will prompt the notepad with the date of the revision 101 (which in my case is not correct) and I paste the copied date and modified the time.
3c) Close the notepad saving the changes. This explicitly modifies the date in the repository, not in the working copy.
3d) A message appears confirming the modification.
4) Check. I opened the Show Log and there is no connection error now!.
I read about what Lorenz send but changing this date resolved my problem, which I expect not appears again.
Slds.
Juan Puig
-----Mensaje original-----
On Aug 18, 2009, at 09:24, Puig, Juan wrote:
> I'm getting a connection error from tortoisesvn when going to Show
[snip]
> what I need now is to correct this date because each time I go to
svn propedit --revprop -r 101 svn:date
svn propedit --revprop -r 102 svn:date
These will bring up your editor (configured in the EDITOR environment
svn propget --revprop -r 103 svn:date
La informaci?n contenida en este mensaje de correo electr?nico y sus anexos es estrictamente confidencial, con un prop?sito espec?fico, y s?lo puede ser empleada por la persona o entidad a quien se dirige. Si usted no es el receptor autorizado, se advierte que cualquier retenci?n, difusi?n, distribuci?n, copia o uso no autorizado de este mensaje y sus anexos est? prohibida y puede ser sancionada por la ley. Si este mensaje ha sido recibido por error, se ruega reenviarlo al remitente y borrarlo de forma inmediata.
The information in this e-mail and its attachments is intended to be strictly confidential, with specific purpose, and only for use of the individual or entity to whom it is addressed. If you are not the intended and authorized recipient, please be informed that any retention, dissemination, distribution, copying or unauthorized use of this message and its attachments is strictly prohibited and may be sanctioned by law. If you receive this message in error, please forward it to the sender and delete it immediately
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.