Re: how to migrate svn directory

2010-08-31 Thread Ryan Schmidt
On Sep 1, 2010, at 01:12, Yunlong Wang wrote: > my team need to migrate our working svn directory from server A to another > server B, is there any tool or suggestions? http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate

how to migrate svn directory

2010-08-31 Thread Yunlong Wang
Hi, buddies, my team need to migrate our working svn directory from server A to another server B, is there any tool or suggestions? I have rw right of A & B, and admin of server A/B is callable. we wannar migrate our code with change logs. I tried to use hg-subversion to check out all th

Re: please help about SVN authentication

2010-08-31 Thread Erik Andersson
2010/9/1 alinagra > Hi, buddies, > > I have setup a SVN server and I use SASL authentication. But right now I > have a authz question: > I can create tags with accont TIM, but when I try to create a tag with the > account not jim, it reports "access denied" error. > Where do you create tags? >

please help about SVN authentication

2010-08-31 Thread alinagra
Hi, buddies, I have setup a SVN server and I use SASL authentication. But right now I have a authz question: I can create tags with accont TIM, but when I try to create a tag with the account not jim, it reports "access denied" error. Does anyone know why? Thanks in advance Here is my authz f

An issue about SVN access deny

2010-08-31 Thread alinagra
Hi, buddies, I have setup a SVN server and use SASL authentication. But right now I have a authz question: I add authentication control the folder: /trunk/access, and only the account TIM can access this folder. I can create tags with accont TIM, but when I try to create a tag with other accou

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Tech Geek
Ryan - Thanks for the sample script. As mentioned before the SVN server is on a Windows server. I will convert it to a Windows environment and give it a shot.

Re: 1.6.x svnmerge.py update?

2010-08-31 Thread Jeppe Øland
On Tue, Aug 31, 2010 at 1:31 PM, Daniel Shahaf wrote: > Jeppe Řland wrote on Tue, Aug 31, 2010 at 10:40:14 -0700: >> Continued from Debian-users: >> http://lists.debian.org/debian-user/2010/08/msg01329.html >> >> It seems the 1.6.x branches haven't included any changes to >> svnmerge.py for a long

Re: 1.6.x svnmerge.py update?

2010-08-31 Thread Daniel Shahaf
Jeppe Øland wrote on Tue, Aug 31, 2010 at 10:40:14 -0700: > Hi there, > > Continued from Debian-users: > http://lists.debian.org/debian-user/2010/08/msg01329.html > > It seems the 1.6.x branches haven't included any changes to > svnmerge.py for a long while. > Specifically, I really need the adde

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Ryan Schmidt
On Aug 31, 2010, at 12:59, Tech Geek wrote: > Let's say if somehow we do manage to implement this hook before the > development/project begins then after the first revision/commit the > project.xml file will also be committed (because we reject any commit if that > file is not there). Now let'

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Ryan Schmidt
On Aug 31, 2010, at 07:06, Nico Kadel-Garcia wrote: > On Tue, Aug 31, 2010 at 7:11 AM, Ryan Schmidt wrote: >> > >> It sounds like you are saying the following: >> >> * There is a file project.xml that developers should have in their working >> copy. >> * This file does not exist in the repos

RE: Hook to check for a presence of file before committing

2010-08-31 Thread REEDICK, ANDREW (ATTSI)
A pre-commit hook can determine if a file exists in the checkin transaction. A pre-commit hook can look at the repository to see if a file already exists in the repository. A pre-commit CANNOT verify that a file exists in the user's workspace. "script will check for the presence of project.

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Les Mikesell
On 8/31/2010 12:59 PM, Tech Geek wrote: >Is it a requirement that the file be changed each time (and thus part of a commit), or just that it exists somewhere on the client side >(versioned or unversioned)? The server will only know about it when it changes since the svn client is smart enough

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Tech Geek
>Is it a requirement that the file be changed each time (and thus part of a commit), or just that it exists somewhere on the client side >(versioned or unversioned)? The server will only know about it when it changes since the svn client is smart enough to only send >differences. Great question. L

1.6.x svnmerge.py update?

2010-08-31 Thread Jeppe Øland
Hi there, Continued from Debian-users: http://lists.debian.org/debian-user/2010/08/msg01329.html It seems the 1.6.x branches haven't included any changes to svnmerge.py for a long while. Specifically, I really need the added support for cross-repository merging. I would like to merge changes from

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Les Mikesell
On 8/31/2010 11:22 AM, Tech Geek wrote: >You want to enforce that the developer cannot commit unless they have this project.xml in >their working copy, though it will never be sent to the repository. That's not true. The project.xml (or whatever file that particular file is) should also be a par

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Jim Thompson
SVN has a pristine copy of the checked-out files along with the working copy. When you issue a commit, SVN compares the pristine and the local files and _only_ sends the diffs. So the presence of any file doesn't automatically mean that it will be visible in the commit _unless_ it changes ever

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Tech Geek
>You want to enforce that the developer cannot commit unless they have this project.xml in >their working copy, though it will never be sent to the repository. That's not true. The project.xml (or whatever file that particular file is) should also be a part of commit. I will again repeat my questi

Re: Reverse merge - Halted due to an unexpected erro

2010-08-31 Thread Daniel Becroft
On Tue, Aug 31, 2010 at 8:43 PM, Bert Huijben wrote: > > > > -Original Message- > > From: Stefan Sperling [mailto:s...@elego.de] > > Sent: dinsdag 31 augustus 2010 12:22 > > To: Daniel Becroft > > Cc: subversion > > Subject: Re: Reverse merge - Halted due to an unexpected erro > > > > On

unsolvable merging conflict

2010-08-31 Thread Joan Queralt
Hello, I made a new branch a few days a go, and when trying to merge changes I get a (I think) strange problem. $ svn merge svn+ssh://.../svnrepos/trunk/cfmud --- Merging r2 through r94 into '.': C area Summary of conflicts: Tree conflicts: 1 First strange thing is that I added this dire

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Nico Kadel-Garcia
On Tue, Aug 31, 2010 at 7:11 AM, Ryan Schmidt wrote: > > On Aug 30, 2010, at 19:46, Tech Geek wrote: > >> The code that we are trying to commit is generated by an IDE - a software >> development tool. The particular file (project.xml) is usually an optional >> file that is up to the developers/u

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Ryan Schmidt
On Aug 30, 2010, at 19:46, Tech Geek wrote: > The code that we are trying to commit is generated by an IDE - a software > development tool. The particular file (project.xml) is usually an optional > file that is up to the developers/user to generate. However we would like to > enforce a policy

RE: Reverse merge - Halted due to an unexpected erro

2010-08-31 Thread Bert Huijben
> -Original Message- > From: Stefan Sperling [mailto:s...@elego.de] > Sent: dinsdag 31 augustus 2010 12:22 > To: Daniel Becroft > Cc: subversion > Subject: Re: Reverse merge - Halted due to an unexpected erro > > On Tue, Aug 31, 2010 at 12:54:00PM +1000, Daniel Becroft wrote: > > Hi all,

Re: Reverse merge - Halted due to an unexpected erro

2010-08-31 Thread Stefan Sperling
On Tue, Aug 31, 2010 at 12:54:00PM +1000, Daniel Becroft wrote: > Hi all, > > I've just tried to reverse-merge a revision, and I've received the following > message: > > svn merge -c -9654 .../tools tools > > BEGIN CONSOLE OUTPUT - > This application has halted due to an unexpected erro

RE: Hook to check for a presence of file before committing

2010-08-31 Thread Cooke, Mark
> -Original Message- > From: Tech Geek [mailto:techgeek12...@gmail.com] > Sent: 31 August 2010 09:14 > To: David Weintraub > Cc: Ryan Schmidt; Subversion Users > Subject: Re: Hook to check for a presence of file before committing > > >It is possible to verify that a project.xml is one of

Re: Hook to check for a presence of file before committing

2010-08-31 Thread Tech Geek
>It is possible to verify that a project.xml is one of the files being >committed because you can use "svn changed" at the time of the >transaction to see what files are being added or modified. It would be >possible to fail the transaction if svnlook changed doesn't have a >project.xml file in the