You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Aaron P. Martinez" <ml...@proficuous.com> on 2009/01/06 22:07:02 UTC

moving repository from 1.5.2 server to 1.4.4 server

I have read in the subversion book that it's completely possible to use
1.5.x clients against a 1.4.x subversion server/repository and how to use
hotcopy to backup a repository and then move it to another machine.

Unfortunately I think I may have come up against a wall in my desires
because nowhere can i find anything about moving a repository created on
Subversion 1.5.x (1.5.2 in my case)  to a machine running 1.4.x.  I have
created my hotcopy and moved it from a RHEL4 box running the CollabNet
Subversion server version 1.5.2 to an OpenBSD 4.4 box with subversion
installed from packages which happens to be version 1.4.4.  Working with
repos created with 1.4.4 obviously works fine with both the native
svnadmin tools and also viewvc.

When i try to work with the moved repository I keep getting messages
similar to:

#svnlook info test_repo
svnlook: Expected FS format '2'; found format '3'

and using viewvc very similar error:

An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 3746, in main
    request.run_viewvc()
  File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 265, in run_viewvc
    cfg.general.svn_path)
  File "/usr/local/viewvc-1.0.7/lib/vclib/svn/__init__.py", line 606, in
__init__
    self.repos = repos.svn_repos_open(rootpath, self.pool)
  File "/usr/local/lib/python2.5/site-packages/libsvn/repos.py", line 47,
in svn_repos_open
    return apply(_repos.svn_repos_open, args)
SubversionException: ("Expected FS format '2'; found format '3'", 160043)


Is there a way to make the 1.4.4 server work with the repos created on the
1.5.2 server?

Thanks in advance.

Aaron Martinez

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1008499

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: moving repository from 1.5.2 server to 1.4.4 server

Posted by "Aaron P. Martinez" <ml...@proficuous.com>.
> Hi
>
> Did you try a dump instead of the hotcopy?

Thanks, after doing even more reading, I did actually try the dump.  It
seems to have worked just fine. (except for the following error using
cvsweb)

An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 3746, in main
    request.run_viewvc()
  File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 403, in run_viewvc
    self.view_func(self)
  File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 2220, in view_annotate
    generate_page(request, "annotate", data)
  File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 855, in generate_page
    template.generate(request.server.file(), data)
  File "/usr/local/viewvc-1.0.7/lib/ezt.py", line 326, in generate
    self._execute(self.program, ctx)
  File "/usr/local/viewvc-1.0.7/lib/ezt.py", line 455, in _execute
    step[0](step[1], ctx)
  File "/usr/local/viewvc-1.0.7/lib/ezt.py", line 525, in _cmd_for
    for unused in iterator:
  File "/usr/local/viewvc-1.0.7/lib/ezt.py", line 715, in next
    self.last_item = self._iter.next() # may raise StopIteration
  File "/usr/local/viewvc-1.0.7/lib/blame.py", line 80, in __getitem__
    item = self.annotation.__getitem__(idx)
  File "/usr/local/viewvc-1.0.7/lib/vclib/svn/__init__.py", line 545, in
__getitem__
    % (idx+1, line))
Error: Could not parse blame output at line 1
&lt;h2&gt;exec failed:&lt;/h2&gt;&lt;pre&gt; /usr/local/bin/svn/svn blame
-r28 --non-interactive --config-dir /tmp/tmpMT2mA- <a
href="file:///svnroot/test_repo/trunk/test_repoSolution/test_repo/App_Code/db.dbml.layout">file:///svnroot/test_repo/trunk/test_repoSolution/test_repo/App_Code/db.dbml.layout</a>@28
&lt;/pre&gt;



While reading the subv. book, it said there are some gotchas to doing the
dump vs. the hotcopy (i.e. hooks, $repo/conf/* files etc won't get backed
up)  is there any other reason that a hotcopy would be any better than a
dump?  I'm not worried about file sizes or time constraints, I just want
to ensure that when i move my repositories they are in the same shape as
before I moved them.

Thanks again.
>
> Aaron P. Martinez wrote:
>> I have read in the subversion book that it's completely possible to use
>> 1.5.x clients against a 1.4.x subversion server/repository and how to
>> use
>> hotcopy to backup a repository and then move it to another machine.
>>
>> Unfortunately I think I may have come up against a wall in my desires
>> because nowhere can i find anything about moving a repository created on
>> Subversion 1.5.x (1.5.2 in my case)  to a machine running 1.4.x.  I have
>> created my hotcopy and moved it from a RHEL4 box running the CollabNet
>> Subversion server version 1.5.2 to an OpenBSD 4.4 box with subversion
>> installed from packages which happens to be version 1.4.4.  Working with
>> repos created with 1.4.4 obviously works fine with both the native
>> svnadmin tools and also viewvc.
>>
>> When i try to work with the moved repository I keep getting messages
>> similar to:
>>
>> #svnlook info test_repo
>> svnlook: Expected FS format '2'; found format '3'
>>
>> and using viewvc very similar error:
>>
>> An Exception Has Occurred
>> Python Traceback
>>
>> Traceback (most recent call last):
>>   File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 3746, in main
>>     request.run_viewvc()
>>   File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 265, in run_viewvc
>>     cfg.general.svn_path)
>>   File "/usr/local/viewvc-1.0.7/lib/vclib/svn/__init__.py", line 606, in
>> __init__
>>     self.repos = repos.svn_repos_open(rootpath, self.pool)
>>   File "/usr/local/lib/python2.5/site-packages/libsvn/repos.py", line
>> 47,
>> in svn_repos_open
>>     return apply(_repos.svn_repos_open, args)
>> SubversionException: ("Expected FS format '2'; found format '3'",
>> 160043)
>>
>>
>> Is there a way to make the 1.4.4 server work with the repos created on
>> the
>> 1.5.2 server?
>>
>> Thanks in advance.
>>
>> Aaron Martinez
>>
>> ------------------------------------------------------
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1008499
>>
>> To unsubscribe from this discussion, e-mail:
>> [users-unsubscribe@subversion.tigris.org].
>>
>>
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1008675

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: moving repository from 1.5.2 server to 1.4.4 server

Posted by Demin Morgan <al...@gmail.com>.
Hi

Did you try a dump instead of the hotcopy?

Aaron P. Martinez wrote:
> I have read in the subversion book that it's completely possible to use
> 1.5.x clients against a 1.4.x subversion server/repository and how to use
> hotcopy to backup a repository and then move it to another machine.
>
> Unfortunately I think I may have come up against a wall in my desires
> because nowhere can i find anything about moving a repository created on
> Subversion 1.5.x (1.5.2 in my case)  to a machine running 1.4.x.  I have
> created my hotcopy and moved it from a RHEL4 box running the CollabNet
> Subversion server version 1.5.2 to an OpenBSD 4.4 box with subversion
> installed from packages which happens to be version 1.4.4.  Working with
> repos created with 1.4.4 obviously works fine with both the native
> svnadmin tools and also viewvc.
>
> When i try to work with the moved repository I keep getting messages
> similar to:
>
> #svnlook info test_repo
> svnlook: Expected FS format '2'; found format '3'
>
> and using viewvc very similar error:
>
> An Exception Has Occurred
> Python Traceback
>
> Traceback (most recent call last):
>   File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 3746, in main
>     request.run_viewvc()
>   File "/usr/local/viewvc-1.0.7/lib/viewvc.py", line 265, in run_viewvc
>     cfg.general.svn_path)
>   File "/usr/local/viewvc-1.0.7/lib/vclib/svn/__init__.py", line 606, in
> __init__
>     self.repos = repos.svn_repos_open(rootpath, self.pool)
>   File "/usr/local/lib/python2.5/site-packages/libsvn/repos.py", line 47,
> in svn_repos_open
>     return apply(_repos.svn_repos_open, args)
> SubversionException: ("Expected FS format '2'; found format '3'", 160043)
>
>
> Is there a way to make the 1.4.4 server work with the repos created on the
> 1.5.2 server?
>
> Thanks in advance.
>
> Aaron Martinez
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1008499
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1008505

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].