README_REPOSITORY
changeset 51072 0351cc781a26
parent 50654 3356ff213339
child 51502 ed5d96d01b2f
equal deleted inserted replaced
51071:b7e7557e80b5 51072:0351cc781a26
   136 hooked on the main repository is called to keep an eye on incoming
   136 hooked on the main repository is called to keep an eye on incoming
   137 changes.  In any case, changesets need to be understandable, at the
   137 changes.  In any case, changesets need to be understandable, at the
   138 time of writing and many years later.
   138 time of writing and many years later.
   139 
   139 
   140 Push access to the Isabelle repository requires an account at TUM,
   140 Push access to the Isabelle repository requires an account at TUM,
   141 with properly configured ssh to the local machines (e.g. lxbroy10).
   141 with properly configured ssh to isabelle-server.in.tum.de.  You also
   142 You also need to be a member of the "isabelle" Unix group.
   142 need to be a member of the "isabelle" Unix group.
   143 
   143 
   144 Sharing a locally modified clone then works as follows, using your
   144 Sharing a locally modified clone then works as follows, using your
   145 user name instead of "wenzelm":
   145 user name instead of "wenzelm":
   146 
   146 
   147   hg out ssh://wenzelm@lxbroy10//home/isabelle-repository/repos/isabelle
   147   hg out ssh://wenzelm@isabelle-server.in.tum.de//home/isabelle-repository/repos/isabelle
   148 
   148 
   149 In fact, the "out" or "outgoing" command performs only a dry run: it
   149 In fact, the "out" or "outgoing" command performs only a dry run: it
   150 displays the changesets that would get published.  An actual "push",
   150 displays the changesets that would get published.  An actual "push",
   151 with a lasting effect on the Isabelle repository, works like this:
   151 with a lasting effect on the Isabelle repository, works like this:
   152 
   152 
   153   hg push ssh://wenzelm@lxbroy10//home/isabelle-repository/repos/isabelle
   153   hg push ssh://wenzelm@isabelle-server.in.tum.de//home/isabelle-repository/repos/isabelle
   154 
   154 
   155 
   155 
   156 Default paths for push and pull can be configured in
   156 Default paths for push and pull can be configured in
   157 isabelle/.hg/hgrc, for example:
   157 isabelle/.hg/hgrc, for example:
   158 
   158 
   159   [paths]
   159   [paths]
   160   default = ssh://wenzelm@lxbroy10//home/isabelle-repository/repos/isabelle
   160   default = ssh://wenzelm@isabelle-server.in.tum.de//home/isabelle-repository/repos/isabelle
   161 
   161 
   162 Now "hg pull" or "hg push" will use that shared file space, unless a
   162 Now "hg pull" or "hg push" will use that shared file space, unless a
   163 different URL is specified explicitly.
   163 different URL is specified explicitly.
   164 
   164 
   165 When cloning a repository, the default path is set to the initial
   165 When cloning a repository, the default path is set to the initial
   166 source URL.  So we could have cloned via that ssh URL in the first
   166 source URL.  So we could have cloned via that ssh URL in the first
   167 place, to get exactly to the same point:
   167 place, to get exactly to the same point:
   168 
   168 
   169   hg clone ssh://wenzelm@lxbroy10//home/isabelle-repository/repos/isabelle
   169   hg clone ssh://wenzelm@isabelle-server.in.tum.de//home/isabelle-repository/repos/isabelle
   170 
   170 
   171 
   171 
   172 Simple merges
   172 Simple merges
   173 -------------
   173 -------------
   174 
   174