Re: svn: E235000: In file '..\..\..\subversion\libsvn_client\commit_util.c' line 474: assertion failed ((copy_mode_root && copy_mode) || ! copy_mode_root)

2012-01-03 Thread Philip Martin
Volker Schöch  writes:

> w:\setuptools\subversion\svn.exe copy . 
> http://server.tc.local:8088/svn/shipped/chart/111230_version21158 -m "Tagging 
> version 21158."
>
> This is the reproducible error message:
>
> svn: E235000: In file '..\..\..\subversion\libsvn_client\commit_util.c' line 
> 474: assertion failed ((copy_mode_root && copy_mode) || ! copy_mode_root)
>  
> Triggering the same(?) command interactively using Tortoise 1.7.3 works fine.

What does 'svn info' show for the URL of the working copy?
What does 'svn status' show for the working copy?

-- 
Philip


Re: svnsync, discard master and start using slave as new master

2012-01-03 Thread Giulio Troccoli



On 28/12/11 14:12, Daniel Shahaf wrote:

Jan Keirse wrote on Wed, Dec 28, 2011 at 11:44:49 +0100:

Hello,

I have a master and a slave. Now I want to discard the current master
and start using the slave as the new master (creating a new slave on
another server and stop the server that currently runs the master.)

I think the steps to do this are the following:
* Change authz on the master so that nobody can commit.

Either that or create a start-commit hook that always fails.


* Sync the slave one last time so it's certainly up-to-date.
(Shouldn't be necessary for us because this is done automatically in a
post-commit hook of the master.)

Also: disable revprop changes, and run 'svnsync copy-revprops' if needed.


* Remove the svn:sync-* properties from revision 0 of the slave.
* Change authz and hooks on the slave to what they used to be on the master.
* Have everyone relocate their working copies to the new server.

Either that, or change DNS.


If the master and slave repos have the same UUID and you change the DNS 
your user will not have to do anything at all.




* Start syncing a new server so we have a slave just in case something
goes wrong on the master.

Is this correct? Is there something I forgot?


Looks good.


Re: Tortoise SVN Error - %23 instead of # in local path

2012-01-03 Thread Philip Martin
Martin Teni  writes:

> Dear Ladies and Gentlemen!
>
>
> I encountered the following problem - here is the message:
>
> *In file*
> *
>  
> 'D:\Development\SVN\Releases\TortoiseSVN-1.7.3\ext\subversion\subversion\libsvn_wc\wc_db.c'
> *
> * line 2890: assertion failed (svn_dirent_is_ancestor(wcroot->abspath,*
> * local_abspath))*
>
>
> I found the mistake, it was a wrong character in the external path.
> I copied / pasted the path from tortoise to a differente tortoise window
> and it inserted "*C%23*" instead of "*C#*".

That looks similar to issue 4073:
http://subversion.tigris.org/issues/show_bug.cgi?id=4073
but I can't tell from your description what you have done.  Where in the
path does the %23 occur?  What does the 'correct' path look like?  What
does the 'incorrect' path look like?

-- 
Philip


svn does not match expected url

2012-01-03 Thread Luis Mochan
Today I tried to 'svn update' a very old folder from a very old repository
and got the error
 svn does not match expected url
I read about some related problems where it was pointed out that the
problem comes from an inconsistent use of upper and lower case in
windows and linux machines. However, in my case, both the repository
and the folder were on linux machines. Nevertheless, the repository is
in a machine which is listed in my /etc/hosts and thus has an abbreviated
name. Its full name is em.fis.unam.mx and its short name is em, so I
sometimes use 
svn ... svn://em.fis.unam.mx/...
and sometimes just
svn ... svn://em/...

I checked manually that my folder was up to date and then removed it
to check out a fresh copy, so now I cannot reproduce the error. 

Nevertheless, my questions are: Is this a known issue? Should I always
use the full name of the repository host? Is there a decent way to
correct the problem (in case it appears again in the future)?

Thanks and best regards,
Luis

-- 

  o
W. Luis Mochán,  | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388 `>/   /\
Apdo. Postal 48-3, 62251 |   (*)/\/  \
Cuernavaca, Morelos, México  | moc...@fis.unam.mx   /\_/\__/

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org