0

I want to automatically tag the daily SVN repository at 6:00 pm so that the daily code snapshot can be maintained and I could at anytime in the future go back to any earlier code repository snapshot. We we do this with a script that runs through a daily cron job ?

kabir
  • 542
  • 3
  • 9
  • 27
  • you might want to look at http://stackoverflow.com/questions/206183/how-can-i-force-subversion-to-commit-an-unchanged-file. you can already revert to a certain day at 1800 without having to force a commit at that time. – jcomeau_ictx Apr 20 '11 at 07:08
  • 1
    You've been a member for a year and have never accepted a question? Shame on you. – Edwin Buck Apr 20 '11 at 07:09

1 Answers1

3

The Subversion repository contains a single unique Revision number which is for the whole repository which is implicit a Tag. So the simplest solution is to use this revision number instead extra tagging step.

khmarbaise
  • 92,914
  • 28
  • 189
  • 235
  • Plus, SubVersion supports using dates as revision numbers. Bottomline: the extra tagging is a waste of time and resources. – DarkDust Apr 20 '11 at 07:32
  • Subverison does not use dates as revision numbers. It has an integer as revision number. The date is a revision property to the revision. – khmarbaise Apr 20 '11 at 08:04
  • I haven't said that it is using dates as revision numbers but that it also *supports* using dates instead. See [Revision Specifiers in the SubVersion book](http://svnbook.red-bean.com/en/1.4/svn.tour.revs.specifiers.html). – DarkDust Apr 20 '11 at 08:06