Skip Menu |

This queue is for tickets about the svk CPAN distribution.

Report information
The Basics
Id: 30050
Status: new
Priority: 0/
Queue: svk

Owner: clsung [...]
Requestors: jpartlow [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Mailer: Evolution 2.10.1
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fJvaDzK1IThqmCgDQd9h"
Reply-To: jpartlow [...]
Organization: OpenSourcery, LLC
Received: from ( []) by (Postfix) with SMTP id 338854D8042 for <bug-svk [...]>; Tue, 16 Oct 2007 22:21:31 -0400 (EDT)
Received: (qmail 26503 invoked by alias); 17 Oct 2007 02:21:30 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Tue, 16 Oct 2007 19:21:27 -0700
Received: from localhost (localhost []) by (Postfix) with ESMTP id 434D932DF for <bug-svk [...]>; Tue, 16 Oct 2007 19:21:15 -0700 (PDT)
Received: from ([]) by localhost (oolon []) (amavisd-new, port 10024) with ESMTP id 11708-04 for <bug-svk [...]>; Tue, 16 Oct 2007 19:21:12 -0700 (PDT)
Received: from [] (localhost []) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTP id 44E0CFC0 for <bug-svk [...]>; Tue, 16 Oct 2007 19:21:12 -0700 (PDT)
Delivered-To: cpan-bug+svk [...]
Subject: svk mv /repo/mirror/path /repo/mirror/renamed-path fails to set up the /repo/mirror/renamed-path as a proper mirror
Return-Path: <jpartlow [...]>
X-Original-To: bug-svk [...]
Date: Tue, 16 Oct 2007 19:21:09 -0700
Message-Id: <1192587669.8388.82.camel [...] fook>
To: bug-svk [...]
From: Josh Partlow <jpartlow [...]>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 1721
Download (untitled) / with headers
text/plain 1.6k
Hi, svk move fails to properly move a mirrored path such that it still functions as a mirror in its new location. This might be a known limitation, but if so I missed it in the docs. I'm using the following versions: jpartlow@fook:~$ uname -a Linux fook 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux jpartlow@fook:~$ perl --version This is perl, v5.8.8 built for i486-linux-gnu-thread-multi jpartlow@fook:~$ svk --version This is svk, version v2.0.2 (using Subversion bindings 1.4.3) Here's a bash script to reproduce the issue (some editing required) #! /bin/bash # The following should reproduce the error # Replace $REPO_URL1 with an url to the first test repo # Replace $REPO_URL2 with an url to the second test repo REPO_URL1= REPO_URL2= svk depotmap mirror-test ~/.svk/mirror-test svk mkdir /mirror-test/mirror -m 'mirror dir' svk mirror $REPO_URL1 /mirror-test/mirror/test1 svk sync /mirror-test/mirror/test1 svk mirror $REPO_URL2 /mirror-test/mirror/test2 svk sync /mirror-test/mirror/test2 svk mirror --list svk mv /mirror-test/mirror/test2 /mirror-test/mirror/test2-renamed -m 'test2 mirror move' # This will fail to show the moved mirror svk mirror --list -------------------------------- If the mirrored path being moved is not the first one, svm:mirror does not get set by SVK::Command::Move. You can adjust this by hand, but it still fails as a mirror because, as near as I can tell, svm:headrev is not set on the new path and an SVK::MirrorCatalog.entries() request drops the entry because it has no changeset returned from SVK::Mirror::Backend::SVNRa.fromrev(). thanks, Josh -- Josh Partlow - Co-Founder/Senior Developer - OpenSourcery, LLC
Content-Description: This is a digitally signed message part
content-type: application/pgp-signature; name="signature.asc"
Content-Length: 189
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to