Announcement

Collapse
No announcement yet.

svnsync -- script to give difference between the main repository and the mirror

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • svnsync -- script to give difference between the main repository and the mirror

    hello,

    I want to set up a svn mirror with svnsync tools.

    Does anyone have a script to compare the number of revisions of the main repository with the mirror ?

    Many tanhks for your help.

    Younes

  • #2
    It would be trivial to write such a script on any platform using the svn info command, for example. What exactly is causing you trouble?

    Comment


    • #3
      Hi,

      My setup is as follows :
      I have two servers each hosting svn and apache.
      I have a server for the main svn repository.
      I have a server to the svn mirror.

      I want to know the state of the synchronization between the main repository and the mirror.

      Did you write a script shell like that ?

      Thanks

      Comment


      • #4
        svn info <URL_TO_MAIN>
        svn info <URL_TO_MIRROR>

        Parse the output of each to fetch the line starting with Revision:

        Comment

        Working...
        X