sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Ladislav Hagara <ladislav.hagara AT unob.cz>
- To: SM-Discuss AT lists.ibiblio.org
- Subject: [SM-Discuss] subversion 1.7.0
- Date: Thu, 13 Oct 2011 01:52:24 +0200
Hi,
subversion 1.7.0 has changed the format of its metadata in repository.
The version 1.6 uses format 10, new subversion 1.7 uses format 12.
Problem of new subversion 1.7 is with repositories created with previous
version of subversion. Until now the upgrade of format of metadata was
performed automatically by first svn update. Now it is necessary to run
"svn upgrade" before "svn update" [1]. All tarballs in
/var/spool/sorcery with sources with svn version have to be upgraded (or
removed and re-downloaded).
# summon -d ephoto
Downloading source file ephoto-svn.tar.bz2
Unpacking source file ephoto-svn.tar.bz2 for spell ephoto.
Running svn update...
svn update --non-interactive -r HEAD ephoto-svn
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy '/tmp/sorcery/summon/2235/ephoto/ephoto-svn'
is too old (format 10, created by Subversion 1.6)
Update of ephoto-svn.tar.bz2 failed, falling back to old version
What will we do with this? Will we fix it for users or this email is
sufficient and users fix it personally?
The easiest way for users it to remove old
/var/spool/sorcery/tarballs-svn and re-summon them.
The second easiest way is manually edit sorcery file
/var/lib/sorcery/modules/dl_handlers/dl_svn and before svn update add
temporarily "svn upgrade $target".
Only temporarily because next summon -d ends with error "it is not a
pre-1.7 working copy directory".
# summon -d elementary
Downloading source file elementary-svn.tar.bz2
Unpacking source file elementary-svn.tar.bz2 for spell elementary.
Running svn update...
svn update --non-interactive -r HEAD elementary-svn
svn: E155019: Can't upgrade
'/tmp/sorcery/summon/4718/elementary/elementary-svn' as it is not a
pre-1.7 working copy directory
svn: E150000: Missing default entry
Updating 'elementary-svn':
At revision 64027.
Repackaging elementary-svn.tar.bz2
The next way is updating sorcery to care about this. Check format
(.svn/format or head -1 .svn/entries or ...) and if it isn't 12 then
upgrade it. Does it worth it?
[1] http://subversion.apache.org/docs/release-notes/1.7.html#wc-ng
--
Ladislav Hagara
-
[SM-Discuss] subversion 1.7.0,
Ladislav Hagara, 10/12/2011
- Re: [SM-Discuss] subversion 1.7.0, Jaka Kranjc, 10/13/2011
Archive powered by MHonArc 2.6.24.