--- 
author: 
  email: ash@firemirror.com
  keyid: bfc7465ebdca5337
  name: Ash Berlin
categories: []

comments: 
  - 
    author: 
      email: ''
      keyid: 0
      name: Anonymous Coward
    categories: []

    comments: []

    date: 2007-01-23T19:06:51Z
    guid: E2484A7A-AB14-11DB-912D-30E41F3E369B
    modified: 2007-09-05T13:13:24Z
    raw: "Thanks a million for taking the trouble to post this. I found the ignored cries for help in the mailing list first, and was beginning to despair.\n"
    signed: 0
    summary: " Thanks a million for taking the trouble to post …"
    tags: []

    text: "    Thanks a million for taking the trouble to post this. I found the\n    ignored cries for help in the mailing list first, and was beginning\n    to despair.\n"
    title: "Re: Zombified Mirrors"
    type: pod
    uri: http://perlitist.com/comments/B2048F92-7AFC-11DB-8D08-AB53DFF3EDFD/E2484A7A-AB14-11DB-912D-30E41F3E369B
    xhtml: "<div class=\"pod\">\n<p>Thanks a million for taking the trouble to post this. I found the ignored cries for help in the mailing list first, and was beginning to despair.\n</p>\n\n\n</div>"
date: 2006-11-23T14:12:27Z
guid: B2048F92-7AFC-11DB-8D08-AB53DFF3EDFD
modified: 2006-11-23T14:12:27Z
raw: "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n=pod\n\nFor those of you reading this looking for a solution when you C<svk mv> a mirrored path, jump to L<The Solution>\n\n=head2 The Problem\n\nSo today I managed to fsck my SVK depot. In attempting to use mst's L<Reaction|http://code2.0beta.co.uk/reaction/svnweb/index.cgi/reaction> I mistakenly mirrored the repository under C<//mirrror/reaction>. As noticed when i tried the following commands\n\n [ash@bowser perl]$ svk co //mirror/reaction\n path /mirror does not exist.\n \n [ash@bowser perl]$ svk co -d /home/ash/perl/reaction\n Checkout path '/home/ash/perl/reaction' detached.\n \n [ash@bowser perl]svk mirror -l\n Path                    Source\n ============================================================\n //mirror/your_prefs     https://mydomain.com/svn/...\n //mirrror/reaction      http://code2.0beta.co.uk/reaction/svn\n \n [ash@bowser perl]$ svk mv //mirrror/reaction //mirror/reaction\n Waiting for editor...\n Committed revision 251.\n Committed revision 252.\n [ash@bowser perl]$ svk mirror -l\n Path                    Source\n ============================================================\n //mirror/your_prefs     https://mydomain.com/svn/...\n\nOh look at that. Its not there anymore. Hrmmmmm. What happens if we try to mirror it again...\n\n [ash@bowser perl]$ svk mirror //mirror/reaction http://code2.0beta.co.uk/reaction/svn\n /mirror/reaction already exists.\n\nAh, so lets remove it then try again:\n\n [ash@bowser perl]$ svk rm //mirror/reaction\n Waiting for editor...\n Committed revision 253.\n [ash@bowser perl]$ svk co http://code2.0beta.co.uk/reaction/svn \n <snip svk output>\n Depot path: [//mirror/svn] //mirror/reaction\n Filesystem has no item: File not found: revision 253, path '/mirrror/reaction'\n [ash@bowser perl]$ svk mirror -l\n Path                    Source\n ============================================================\n //mirror/your_prefs     https://mydomain.com/svn/...\n\nBah. That didn't work either.\n\n [ash@bowser perl]$ svk ls //\n mirror/\n mirrror/\n [ash@bowser perl]$ svk rm //mirrror\n //mirrror contains mirror, remove explicitly: //mirrror/reaction\n [ash@bowser perl]$ svk rm //mirrror/reaction\n no source specificed at /usr/local/share/perl/5.8.7/SVN/Mirror.pm line 52.\n\n=head2 The Solution  \n\nTo fix this problem, you have to remove the moved mirror from the C<svm:mirror> property on the root of your depot (C<//> in most cases.)\n\n [ash@bowser perl]$ svk pg svm:mirror //\n /mirror/your_prefs\n /mirrror/reaction\n [ash@bowser perl]$ svk ps  svm:mirror \"/mirror/your_prefs\n > \" //\n Waiting for editor...\n Committed revision 254.\n [ash@bowser perl]$ svk mirror //mirror/reaction http://code2.0beta.co.uk/reaction/svn\n Committed revision 255.\n [ash@bowser perl]$ svk sync //mirror/reaction\n Syncing http://code2.0beta.co.uk/reaction/svn\n Retrieving log information from 1 to 216\n Committed revision 256 from revision 1.\n ...\n Committed revision 471 from revision 216.\n\nHuzzah! It's working!. Now to just remove C<//mirrror>:\n\n [ash@bowser perl]$ svk rm //mirrror\n Waiting for editor...\n Committed revision 472.\n\nDone and dusted.\n\nTho strangely L<this bug report| http://openfoundry.org/Foundry/Project/Tracker/Display.html?Queue=82&id=6000> seems to imply this problem as fixed in 2005. However the above and L<[svk-devel] Unable to recover from zombie mirror|http://lists.bestpractical.com/pipermail/svk-devel/2006-August/000115.html> say otherwise.\n\nAnyone know differently?\n\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.2.2 (GNU/Linux)\n\niD8DBQFFZbBdv8dGXr3KUzcRApGMAKCBbPEShNEmaqnxGvRa77oCT6546ACeKuWR\nZW6jqjzuuhmgcJ6Pj18n4bA=\n=dHqb\n-----END PGP SIGNATURE-----\n"
signed: 1
summary: " For those of you reading this looking for a …"
tags: 
  - 
    svk: 0
text: "    For those of you reading this looking for a solution when you svk mv\n    a mirrored path, jump to \"The Solution\"\n\n The Problem\n\n    So today I managed to fsck my SVK depot. In attempting to use mst's\n    Reaction I mistakenly mirrored the repository under //mirrror/reac-\n    tion. As noticed when i tried the following commands\n\n     [ash@bowser perl]$ svk co //mirror/reaction path /mirror does\n     not exist.\n\n     [ash@bowser perl]$ svk co -d /home/ash/perl/reaction Checkout path\n     '/home/ash/perl/reaction' detached.\n\n     [ash@bowser perl]svk mirror -l Path Source\n     ============================================================\n     //mirror/your_prefs https://mydomain.com/svn/... //mirrror/reaction\n     http://code2.0beta.co.uk/reaction/svn\n\n     [ash@bowser perl]$ svk mv //mirrror/reaction //mirror/reaction\n     Waiting for editor... Committed revision 251. Committed revision\n     252. [ash@bowser perl]$ svk mirror -l Path Source\n     ============================================================\n     //mirror/your_prefs https://mydomain.com/svn/...\n\n    Oh look at that. Its not there anymore. Hrmmmmm. What happens if we\n    try to mirror it again...\n\n     [ash@bowser perl]$ svk mirror //mirror/reaction http://code2.0be-\n     ta.co.uk/reaction/svn /mirror/reaction already exists.\n\n    Ah, so lets remove it then try again:\n\n     [ash@bowser perl]$ svk rm //mirror/reaction Waiting for editor...\n     Committed revision 253. [ash@bowser perl]$ svk co http://code2.0-\n     beta.co.uk/reaction/svn <snip svk output> Depot path: [//mir-\n     ror/svn] //mirror/reaction Filesystem has no item: File not found:\n     revision 253, path '/mirrror/reaction' [ash@bowser perl]$ svk mir-\n     ror -l Path Source\n     ============================================================\n     //mirror/your_prefs https://mydomain.com/svn/...\n\n    Bah. That didn't work either.\n\n     [ash@bowser perl]$ svk ls // mirror/ mirrror/ [ash@bowser perl]$\n     svk rm //mirrror //mirrror contains mirror, remove explicitly:\n     //mirrror/reaction [ash@bowser perl]$ svk rm //mirrror/reaction\n     no source specificed at /usr/local/share/perl/5.8.7/SVN/Mir-\n     ror.pm line 52.\n\n The Solution\n\n    To fix this problem, you have to remove the moved mirror from the\n    svm:mirror property on the root of your depot (// in most cases.)\n\n     [ash@bowser perl]$ svk pg svm:mirror // /mirror/your_prefs\n     /mirrror/reaction [ash@bowser perl]$ svk ps svm:mirror \"/mir-\n     ror/your_prefs\n     > \" //\n     Waiting for editor... Committed revision 254. [ash@bowser perl]$\n     svk mirror //mirror/reaction http://code2.0beta.co.uk/reaction/svn\n     Committed revision 255. [ash@bowser perl]$ svk sync //mirror/reac-\n     tion Syncing http://code2.0beta.co.uk/reaction/svn Retrieving log\n     information from 1 to 216 Committed revision 256 from revision 1.\n     ... Committed revision 471 from revision 216.\n\n    Huzzah! It's working!. Now to just remove //mirrror:\n\n     [ash@bowser perl]$ svk rm //mirrror Waiting for editor... Committed\n     revision 472.\n\n    Done and dusted.\n\n    Tho strangely this bug report seems to imply this problem as fixed\n    in 2005. However the above and [svk-devel] Unable to recover from\n    zombie mirror say otherwise.\n\n    Anyone know differently?\n"
title: Zombiied Mirrors
type: pod
uri: http://perlitist.com/articles/zombified-mirrors
xhtml: "<div class=\"pod\">\n<p>For those of you reading this looking for a solution when you <code>svk mv</code> a mirrored path, jump to <a href=\"#The_Solution\">The Solution</a></p>\n<h4 id=\"The_Problem\">The Problem</h4>\n<div id=\"The_Problem_CONTENT\">\n<p>So today I managed to fsck my SVK depot. In attempting to use mst's <a href=\"http://code2.0beta.co.uk/reaction/svnweb/index.cgi/reaction\">Reaction</a> I mistakenly mirrored the repository under <code>//mirrror/reaction</code>. As noticed when i tried the following commands</p>\n<pre>[ash@bowser perl]$ svk co //mirror/reaction\npath /mirror does not exist.\n\n[ash@bowser perl]$ svk co -d /home/ash/perl/reaction\nCheckout path '/home/ash/perl/reaction' detached.\n\n[ash@bowser perl]svk mirror -l\nPath                    Source\n============================================================\n//mirror/your_prefs     https://mydomain.com/svn/...\n//mirrror/reaction      http://code2.0beta.co.uk/reaction/svn\n\n[ash@bowser perl]$ svk mv //mirrror/reaction //mirror/reaction\nWaiting for editor...\nCommitted revision 251.\nCommitted revision 252.\n[ash@bowser perl]$ svk mirror -l\nPath                    Source\n============================================================\n//mirror/your_prefs     https://mydomain.com/svn/...\n</pre>\n<p>Oh look at that. Its not there anymore. Hrmmmmm. What happens if we try to mirror it again...</p>\n<pre>[ash@bowser perl]$ svk mirror //mirror/reaction http://code2.0beta.co.uk/reaction/svn\n/mirror/reaction already exists.\n</pre>\n<p>Ah, so lets remove it then try again:</p>\n<pre>[ash@bowser perl]$ svk rm //mirror/reaction\nWaiting for editor...\nCommitted revision 253.\n[ash@bowser perl]$ svk co http://code2.0beta.co.uk/reaction/svn \n&lt;snip svk output&gt;\nDepot path: [//mirror/svn] //mirror/reaction\nFilesystem has no item: File not found: revision 253, path '/mirrror/reaction'\n[ash@bowser perl]$ svk mirror -l\nPath                    Source\n============================================================\n//mirror/your_prefs     https://mydomain.com/svn/...\n</pre>\n<p>Bah. That didn't work either.</p>\n<pre>[ash@bowser perl]$ svk ls //\nmirror/\nmirrror/\n[ash@bowser perl]$ svk rm //mirrror\n//mirrror contains mirror, remove explicitly: //mirrror/reaction\n[ash@bowser perl]$ svk rm //mirrror/reaction\nno source specificed at /usr/local/share/perl/5.8.7/SVN/Mirror.pm line 52.\n</pre>\n\n</div>\n<h4 id=\"The_Solution\">The Solution  </h4>\n<div id=\"The_Solution_CONTENT\">\n<p>To fix this problem, you have to remove the moved mirror from the <code>svm:mirror</code> property on the root of your depot (<code>//</code> in most cases.)</p>\n<pre>[ash@bowser perl]$ svk pg svm:mirror //\n/mirror/your_prefs\n/mirrror/reaction\n[ash@bowser perl]$ svk ps  svm:mirror &quot;/mirror/your_prefs\n&gt; &quot; //\nWaiting for editor...\nCommitted revision 254.\n[ash@bowser perl]$ svk mirror //mirror/reaction http://code2.0beta.co.uk/reaction/svn\nCommitted revision 255.\n[ash@bowser perl]$ svk sync //mirror/reaction\nSyncing http://code2.0beta.co.uk/reaction/svn\nRetrieving log information from 1 to 216\nCommitted revision 256 from revision 1.\n...\nCommitted revision 471 from revision 216.\n</pre>\n<p>Huzzah! It's working!. Now to just remove <code>//mirrror</code>:</p>\n<pre>[ash@bowser perl]$ svk rm //mirrror\nWaiting for editor...\nCommitted revision 472.\n</pre>\n<p>Done and dusted.</p>\n<p>Tho strangely <a href=\"http://openfoundry.org/Foundry/Project/Tracker/Display.html?Queue=82&amp;id=6000\">this bug report</a> seems to imply this problem as fixed in 2005. However the above and <a href=\"http://lists.bestpractical.com/pipermail/svk-devel/2006-August/000115.html\">[svk-devel] Unable to recover from zombie mirror</a> say otherwise.</p>\n<p>Anyone know differently?\n</p>\n\n</div>\n</div>"
