RE: svnsync on large files

2016-12-07 Thread Stümpfig , Thomas
Hi Daniel,
you are a guru. I don't know why but it worked!

I guess the magic is in the difference of network transmission of svnsync vs 
svnrdump / svnadmin load

Are there suggestions from your side to avoid this error in the future?

Thank you very much for your help!!!

Regards
Thomas

-Original Message-
From: Daniel Shahaf [mailto:danie...@apache.org]
Sent: Donnerstag, 8. Dezember 2016 07:20
To: Stümpfig, Thomas (DF PL S&SE DE PSM EAI) 
Cc: Pavel Lyalyakin ; users@subversion.apache.org
Subject: Re: svnsync on large files

Stümpfig, Thomas wrote on Wed, Dec 07, 2016 at 23:32:38 +:
> This is the situation of the starting point. (I restored)

The steps should be this:

f() {
  token="$USER@$(hostname):${RANDOM}:${RANDOM}"
  svn propset --revprop -r0 -- svn:sync-lock $token
  svn propget --revprop -r0 --strict svn:sync-lock | fgrep -q -- $token || 
return 1
  svn propset --revprop -r0 svn:sync-currently-copying 54618
  svnrdump dump -r54618 --incremental https://mysourceturl/repository >tmpfile
  svnadmin load /svnmirror/projektablage 

Re: Can't get "svn log --use-merge-history" to list all

2016-12-07 Thread Gábor Kertai
I just hit this same brick wall when trying to use the XML output from 
command line SVN 1.9.3. Did you happen to find a solution?

Regardless of how many revisions were merged into a commit, I only receive 
the  node for just one of 
them. SVN seems to pick a random revision to include, it is not always the 
"first" revision in any logical order.

Regards,
Gabor

On Sunday, March 6, 2016 at 6:51:18 PM UTC+1, Stefan Karlsson wrote:
 

> Showing the log on the file, with:"svn log --use-merge-history --verbose 
> trunk\example.txt
>
> It shows (as expected) each change made in the second branch, but NOT each 
> change made in the first branch !?!?!
>
> ...and the file does include all the changes, but why isn't it listed in 
> the log?
>
> BTW, I'm using svn, version 1.9.3 (r1718519)
>
> Is this a bug or am I doing it wrong?
>
> /Stefan
>
>

subversion error

2016-12-07 Thread Yue, Jane
[cid:image001.png@01D25090.362FCA20]

[cid:image002.png@01D25090.362FCA20]

Thanks,
Jane



Re: svnsync on large files

2016-12-07 Thread Daniel Shahaf
Stümpfig, Thomas wrote on Wed, Dec 07, 2016 at 23:32:38 +:
> This is the situation of the starting point. (I restored)

The steps should be this:

f() {
  token="$USER@$(hostname):${RANDOM}:${RANDOM}"
  svn propset --revprop -r0 -- svn:sync-lock $token
  svn propget --revprop -r0 --strict svn:sync-lock | fgrep -q -- $token || 
return 1
  svn propset --revprop -r0 svn:sync-currently-copying 54618
  svnrdump dump -r54618 --incremental https://mysourceturl/repository >tmpfile
  svnadmin load /svnmirror/projektablage 

RE: svnsync on large files

2016-12-07 Thread Stümpfig , Thomas
Would you suggest the following command
svnsync initialize --allow-non-empty http://svn.example.com/svn-mirror \
   NEW-SOURCE-URL

?

-Original Message-
From: Pavel Lyalyakin [mailto:pavel.lyalya...@visualsvn.com]
Sent: Mittwoch, 7. Dezember 2016 18:59
To: Stümpfig, Thomas (DF PL S&SE DE PSM EAI) ; 
users@subversion.apache.org
Subject: Re: svnsync on large files

Hello Thomas,

On Wed, Dec 7, 2016 at 8:54 PM, Stümpfig, Thomas  
wrote:
>
> Hi everybody,
>
> i get an error with svnsync for large files. svnsync: E175002: REPORT
> request on


It seems to be only the first part of the error message. What's the full 
wording of the error?

>
> The rev to be synced is 2,291,973,385 Bytes large (Size in
> txn-protorevs directory. Of target mirror)
>
> The sync is with svn 1.9.5 (Visual SVN Server) over both https


You should use file:/// access to the local repository instead of HTTP(S). Here 
is an example:
[[[
svnsync sync "https://svn.example.com/svn/MyRepo";
"file:///C:/Repositories/MyRepo/"
]]]

Does the error occur when you use file:/// access to local repository?

> I tried to rdump, svnadmin load incremental (works) and adjust revprop info 
> in rev 0 to the new imported files. But the I got a path already exists for 
> following syncs.
> Might not be related to my manipulations but could be the case.
>
>
>
> Any Help is appreciated
>
>
>
> Mit freundlichen Grüßen
>
> Thomas Stümpfig
>
>
>
> Siemens Indusry Software GmbH
>
> Product Lifecycle Management
>
> Global Sales & Services
>
>
>
> Franz-Geuer Straße 10
>
> 50823 Köln
>
> Franz-Geuer-Straße 10
> 50823 Köln Tel.: +49 (2153 )9107117
>
> Fax.: +49 (221) 20802699
>
> Mobil: +49 (175) 2205 712
>
> thomas.stuemp...@siemens.com
>
> www.siemens.com/plm
>
>
>
> -
> Siemens Industry Software GmbH; Anschrift: Franz-Geuer-Str. 10, 50823
> Köln; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Urban
> August, Daniel Trebes; Sitz der Gesellschaft: Köln; Registergericht:
> Amtsgericht Köln, HRB 84564




--
With best regards,
Pavel Lyalyakin
VisualSVN Team
-
Siemens Industry Software GmbH; Anschrift: Franz-Geuer-Str. 10, 50823 Köln; 
Gesellschaft mit beschränkter Haftung; Geschäftsführer: Urban August, Daniel 
Trebes; Sitz der Gesellschaft: Köln; Registergericht: Amtsgericht Köln, HRB 
84564


RE: svnsync on large files

2016-12-07 Thread Stümpfig , Thomas
Hi guys
Thank you for your support.
Here is the full error message.

E:\svnbackup>svnsync sync --source-username=myusername --source-password=x  
--sync-username= myusername --sync-password=x https://mydesturl/repository  
https://mysourceturl/repository
Transmitting file data .svnsync: E175002: REPORT request on 
'/svn/projektablage
age/!svn/rev/54618' failed

(I modified the urls for infosec puposes ... )

E:\svnbackup>svn proplist --revprop -r 0 file:///E:/svnmirror/projektablage
Unversioned properties on revision 0:
  svn:date
  svn:sync-currently-copying
  svn:sync-from-url
  svn:sync-from-uuid
  svn:sync-last-merged-rev

E:\svnbackup>svn propget --revprop -r 0 svn:sync-currently-copying  
file:///E:/svnmirror/projektablage
54618

E:\svnbackup>svn propget --revprop -r 0 svn:sync-last-merged-rev  
file:///E:/svnmirror/projektablage
54617

E:\svnbackup>svn info -r HEAD file:///E:/svnmirror/projektablage
Path: projektablage
URL: file:///E:/svnmirror/projektablage
Relative URL: ^/
Repository Root: file:///E:/svnmirror/projektablage
Repository UUID: e75c21af-ffb9-1a4d-8d4e-43c49f6e0dd9
Revision: 54617
Node Kind: directory
Last Changed Author: xxx
Last Changed Rev: 54617
Last Changed Date: 2016-12-05 11:38:18 +0100 (Mon, 05 Dec 2016)


This is the situation of the starting point. (I restored)

Regards
Thomas

-Original Message-
From: Daniel Shahaf [mailto:danie...@apache.org]
Sent: Mittwoch, 7. Dezember 2016 23:09
To: Pavel Lyalyakin 
Cc: Stümpfig, Thomas (DF PL S&SE DE PSM EAI) ; 
users@subversion.apache.org
Subject: Re: svnsync on large files

Pavel Lyalyakin wrote on Wed, Dec 07, 2016 at 20:59:24 +0300:
> On Wed, Dec 7, 2016 at 8:54 PM, Stümpfig, Thomas
>  wrote:
> >
> > The rev to be synced is 2,291,973,385 Bytes large (Size in
> > txn-protorevs directory. Of target mirror)
> >
> > The sync is with svn 1.9.5 (Visual SVN Server) over both https
>
>
> You should use file:/// access to the local repository instead of
> HTTP(S).

Why?  There are perfectly good reasons to use http://localhost/, for example, 
to have a one-stop-shop killswitch for disabling "everything"
from accessing the repository.

I'm guessing the dump/incremental-load/update-r0-revprops surgery went wrong.  
I would (a) double-check that the revision that had been manually synced did in 
fact sync correctly, (b) review the r0 revprops.
(Thomas: you can just post the 'proplist -v' here if you aren't sure whether 
it's correct now.)

Also, as Pavel says, we need the full error message.

Cheers,

Daniel

> Here is an example:
> [[[
> svnsync sync "https://svn.example.com/svn/MyRepo";
> "file:///C:/Repositories/MyRepo/"
> ]]]
>
> Does the error occur when you use file:/// access to local repository?
>
> > I tried to rdump, svnadmin load incremental (works) and adjust
> > revprop info in rev 0 to the new imported files. But the I got a
> > path already exists for following syncs.  Might not be related to my
> > manipulations but could be the case.
-
Siemens Industry Software GmbH; Anschrift: Franz-Geuer-Str. 10, 50823 Köln; 
Gesellschaft mit beschränkter Haftung; Geschäftsführer: Urban August, Daniel 
Trebes; Sitz der Gesellschaft: Köln; Registergericht: Amtsgericht Köln, HRB 
84564


Re: svnsync on large files

2016-12-07 Thread Daniel Shahaf
Pavel Lyalyakin wrote on Wed, Dec 07, 2016 at 20:59:24 +0300:
> On Wed, Dec 7, 2016 at 8:54 PM, Stümpfig, Thomas
>  wrote:
> >
> > The rev to be synced is 2,291,973,385 Bytes large (Size in txn-protorevs 
> > directory. Of target mirror)
> >
> > The sync is with svn 1.9.5 (Visual SVN Server) over both https
> 
> 
> You should use file:/// access to the local repository instead of
> HTTP(S).

Why?  There are perfectly good reasons to use http://localhost/, for
example, to have a one-stop-shop killswitch for disabling "everything"
from accessing the repository.

I'm guessing the dump/incremental-load/update-r0-revprops surgery went
wrong.  I would (a) double-check that the revision that had been
manually synced did in fact sync correctly, (b) review the r0 revprops.
(Thomas: you can just post the 'proplist -v' here if you aren't sure
whether it's correct now.)

Also, as Pavel says, we need the full error message.

Cheers,

Daniel

> Here is an example:
> [[[
> svnsync sync "https://svn.example.com/svn/MyRepo";
> "file:///C:/Repositories/MyRepo/"
> ]]]
> 
> Does the error occur when you use file:/// access to local repository?
> 
> > I tried to rdump, svnadmin load incremental (works) and adjust
> > revprop info in rev 0 to the new imported files. But the I got
> > a path already exists for following syncs.  Might not be related to
> > my manipulations but could be the case.


Re: svnsync on large files

2016-12-07 Thread Pavel Lyalyakin
Hello Thomas,

On Wed, Dec 7, 2016 at 8:54 PM, Stümpfig, Thomas
 wrote:
>
> Hi everybody,
>
> i get an error with svnsync for large files. svnsync: E175002: REPORT request 
> on


It seems to be only the first part of the error message. What's the
full wording of the error?

>
> The rev to be synced is 2,291,973,385 Bytes large (Size in txn-protorevs 
> directory. Of target mirror)
>
> The sync is with svn 1.9.5 (Visual SVN Server) over both https


You should use file:/// access to the local repository instead of
HTTP(S). Here is an example:
[[[
svnsync sync "https://svn.example.com/svn/MyRepo";
"file:///C:/Repositories/MyRepo/"
]]]

Does the error occur when you use file:/// access to local repository?

> I tried to rdump, svnadmin load incremental (works) and adjust revprop info 
> in rev 0 to the new imported files. But the I got a path already exists for 
> following syncs.
> Might not be related to my manipulations but could be the case.
>
>
>
> Any Help is appreciated
>
>
>
> Mit freundlichen Grüßen
>
> Thomas Stümpfig
>
>
>
> Siemens Indusry Software GmbH
>
> Product Lifecycle Management
>
> Global Sales & Services
>
>
>
> Franz-Geuer Straße 10
>
> 50823 Köln
>
> Franz-Geuer-Straße 10
> 50823 Köln Tel.: +49 (2153 )9107117
>
> Fax.: +49 (221) 20802699
>
> Mobil: +49 (175) 2205 712
>
> thomas.stuemp...@siemens.com
>
> www.siemens.com/plm
>
>
>
> -
> Siemens Industry Software GmbH; Anschrift: Franz-Geuer-Str. 10, 50823 Köln; 
> Gesellschaft mit beschränkter Haftung; Geschäftsführer: Urban August, Daniel 
> Trebes; Sitz der Gesellschaft: Köln; Registergericht: Amtsgericht Köln, HRB 
> 84564




-- 
With best regards,
Pavel Lyalyakin
VisualSVN Team


svnsync on large files

2016-12-07 Thread Stümpfig , Thomas
Hi everybody,
i get an error with svnsync for large files. svnsync: E175002: REPORT request on

The rev to be synced is 2,291,973,385 Bytes large (Size in txn-protorevs 
directory. Of target mirror)
The sync is with svn 1.9.5 (Visual SVN Server) over both https

I tried to rdump, svnadmin load incremental (works) and adjust revprop info in 
rev 0 to the new imported files. But the I got a path already exists for 
following syncs.
Might not be related to my manipulations but could be the case.

Any Help is appreciated

Mit freundlichen Grüßen
Thomas Stümpfig

Siemens Indusry Software GmbH
Product Lifecycle Management
Global Sales & Services

Franz-Geuer Straße 10
50823 Köln
Franz-Geuer-Straße 10
50823 Köln Tel.: +49 (2153 )9107117
Fax.: +49 (221) 20802699
Mobil: +49 (175) 2205 712
thomas.stuemp...@siemens.com
www.siemens.com/plm


-
Siemens Industry Software GmbH; Anschrift: Franz-Geuer-Str. 10, 50823 Köln; 
Gesellschaft mit beschränkter Haftung; Geschäftsführer: Urban August, Daniel 
Trebes; Sitz der Gesellschaft: Köln; Registergericht: Amtsgericht Köln, HRB 
84564