Re: Interrupting an update after change of externals causes corrupt working copy

2010-09-29 Thread Daniel Shahaf
Johan Corveleyn wrote on Thu, Sep 30, 2010 at 03:16:46 +0200: > Sorry for the delay (had to retest some things). Some answers below. > No problem. > On Thu, Sep 23, 2010 at 7:18 PM, Daniel Shahaf > wrote: > > Johan Corveleyn wrote on Thu, Sep 23, 2010 at 12:40:35 +0200: > >> 1) Change a direct

Got an error message while importing projects into workspace

2010-09-29 Thread Deepesh, Seetharaman
I am using the SVN plugin in MyEclipse 6.6. The details of my SVN version are as below SVNKit (Pure Java) SVNkit v1.2.3.5521 javaHL(JNI) 1.5.7(r36142) I got an error message while trying to import "Existing Projects into Workspace". The error is as below. I am not sure whether this is a bug or

Re: Interrupting an update after change of externals causes corrupt working copy

2010-09-29 Thread Johan Corveleyn
Sorry for the delay (had to retest some things). Some answers below. On Thu, Sep 23, 2010 at 7:18 PM, Daniel Shahaf wrote: > Johan Corveleyn wrote on Thu, Sep 23, 2010 at 12:40:35 +0200: >> [now with better subject line (clicked send too soon on previous >> mail), please use this thread iso the o

Newbie Help

2010-09-29 Thread Hal M. Staniloff
Hello; I'm a regular newbie adminstrating subversion under OS X/Xcode. I successfully established and have been using an svn repository for a while. I have svnserve configured on my iMac under Snow Leopard. When trying to access my repository from my MacBookPro under Xcode, it is now very ver

Re: Wrong value in db/format when creating from TortoiseSVN

2010-09-29 Thread Tech Geek
I also experimented with http:// protocol and the same error message. I have spent last 2 days just working on these issues and here is what I would like to summarize: 1. Repositories created on shared network drive with 1.6.12 subversion engine (svnadmin) or 1.6.10 TSVN, will not commit through T

Re: Wrong value in db/format when creating from TortoiseSVN

2010-09-29 Thread Tech Geek
OK guys so I ended up upgrading the subversion server to 1.6.12 the same as TortoiseSVN is built against. Now I am able to checkout the repositories through TSVN but whenever I try to commit I get the following error message: $Commit failed (details follow): $Couldn't perform atomic initialization

Re: Subversion Blues - please help

2010-09-29 Thread Daniel Shahaf
Les Mikesell wrote on Wed, Sep 29, 2010 at 11:25:27 -0500: > On 9/29/2010 11:11 AM, Alan Barrett wrote: >> On Tue, 28 Sep 2010, Les Mikesell wrote: >>> It would have made sense to me to have the config/scripts versioned >>> but I've forgotten how that worked in CVS and I'm too lazy to look >>> it u

RE: Why is --reintegrate neccessary?

2010-09-29 Thread Bob Archer
> On Wed, Sep 29, 2010 at 10:07:01AM +0200, Tino Schwarze wrote: > > On Thu, Sep 23, 2010 at 10:37:30AM -0400, Bob Archer wrote: > > > > > > > The critical paragraph is this one: > > > > > > > > > > "When merging your branch back to the trunk, however, the > underlying > > > > > mathematics is quit

Merging: Noisy branch commits and missing mergeinfo

2010-09-29 Thread Shaun Pinney
Hello all, We've found that committing a branch after a merge shows many files modified, even if they were not changed on the trunk. We'd like a way to reduce the noise. Also, we've like a way to ensure merge info is not accidentally omitted by the user. I'll give the back- ground below: A whi

Re: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Nico Kadel-Garcia
On Wed, Sep 29, 2010 at 3:32 AM, Rice Yeh wrote: > Hi, >   I am trying to separate my project a-project into a-project/trunk and > a-project/branches. First, I like to move a-project to a-project/trunk. But > this is not allowed since trunk is inside a-project. I might first move > a-project to tm

Re: Subversion encountered a serious problem - during svn update

2010-09-29 Thread Mothmonsterman
I was never able to pin down exactly what caused this. I wanted to know why, as opposed to just a fix, hence the length of the thread. Nothing was modifying files under .svn as Les Mikesell mentioned, but thanks for that suggestion! Just in case anybody happens to run into the same issue, the prob

Re: SVN branching and merging

2010-09-29 Thread Daniel Becroft
On Thu, Sep 30, 2010 at 6:14 AM, Nigel Benns wrote: > I have a question about SVN merge. > I would like to know if it is possible to do this with merging. > > I would like a "trunk" to hold config files for an application. > Then I would like 3 branches, dev, test and uat. > > I want the trunk br

SVN branching and merging

2010-09-29 Thread Nigel Benns
I have a question about SVN merge. I would like to know if it is possible to do this with merging. I would like a "trunk" to hold config files for an application. Then I would like 3 branches, dev, test and uat. I want the trunk branch to contain either no addresses or place holders for addresse

Re: Why is --reintegrate neccessary?

2010-09-29 Thread Stefan Sperling
On Wed, Sep 29, 2010 at 10:07:01AM +0200, Tino Schwarze wrote: > On Thu, Sep 23, 2010 at 10:37:30AM -0400, Bob Archer wrote: > > > > > The critical paragraph is this one: > > > > > > > > "When merging your branch back to the trunk, however, the underlying > > > > mathematics is quite different. Yo

RE: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Bob Archer
> Hi. > > 2010/9/29 Bob Archer : > > svn cd a-project > > svn trunk a-project/trunk > > What's that supposed to do? Sorry... missed the mv BOb > > MacBook-Pro:~ alex$ svn --version > svn, version 1.6.5 (r38866) >compiled Oct 16 2009, 02:54:10 > > Copyright (C) 2000-2009 CollabNet. > Su

Re: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Alexander Skwar
Hi. 2010/9/29 Bob Archer : > svn cd a-project > svn trunk a-project/trunk What's that supposed to do? MacBook-Pro:~ alex$ svn --version svn, version 1.6.5 (r38866) compiled Oct 16 2009, 02:54:10 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigr

RE: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Bob Archer
> On Sep 29, 2010, at 09:12, Edward Ned Harvey wrote: > > >> From: Rice Yeh [mailto:rice...@gmail.com] > >> > >> I am trying to separate my project a-project into a- > project/trunk and > >> a-project/branches. First, I like to move a-project to a- > project/trunk. > >> But this is not allowed s

Re: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Ryan Schmidt
On Sep 29, 2010, at 09:12, Edward Ned Harvey wrote: >> From: Rice Yeh [mailto:rice...@gmail.com] >> >> I am trying to separate my project a-project into a-project/trunk and >> a-project/branches. First, I like to move a-project to a-project/trunk. >> But this is not allowed since trunk is insi

RE: SVN checkout of all dir under a root dir

2010-09-29 Thread Bob Archer
> i have structure like this in SVN repo > > root-dir >   | >    -- child-proj-1 >   | >    -- child-proj-2 > > i want to give path to root dir and checkout all the child projects > directly. > > i.e. i want to give a command something like > svn checkout https://svn.repo/root-dir > in a local d

RE: Best way to "un-version control" a file?

2010-09-29 Thread Bob Archer
> On Thu, Sep 23, 2010 at 11:18 PM, Daniel Shahaf > wrote: > > Les Mikesell wrote on Thu, Sep 23, 2010 at 12:27:40 -0500: > >> Am I wrong in thinking that similar accidents happen to everyone > >> eventually and that a feature to fix them would be desirable? > > > > Yes, the feature has its use ca

Re: Wrong value in db/format when creating from TortoiseSVN

2010-09-29 Thread Les Mikesell
On 9/28/2010 6:20 PM, Tech Geek wrote: Les, The point remains that if they have write access through mapped files, they have the capability of destroying everything there. You could probably whip up a cgi script to create new repositories from a web request form

RE: Wrong value in db/format when creating from TortoiseSVN

2010-09-29 Thread Bob Archer
>> Do not put your repository on a shared drive. Do not use file: >> protocol to access it. It is not designed to work in such way. Read >> the documentation (aka svnbook) and configure a proper server. > > This should be emphasized more.  Although the OP said he wanted the > users to be able to c

Re: Subversion Blues - please help

2010-09-29 Thread Les Mikesell
On 9/29/2010 11:11 AM, Alan Barrett wrote: On Tue, 28 Sep 2010, Les Mikesell wrote: It would have made sense to me to have the config/scripts versioned but I've forgotten how that worked in CVS and I'm too lazy to look it up. And I suppose it would be hard to change now in a backwards-compatible

RE: Setting "tags" to read only ?

2010-09-29 Thread Thomas Loy
We use access control to keep tags read-only, although pre-commit hooks would work as well, access control was simpler and a bit more foolproof. Regards, Tom -Original Message- From: a.sk...@gmail.com [mailto:a.sk...@gmail.com] On Behalf Of Alexander Skwar Sent: Wednesday, September 29

Re: Subversion Blues - please help

2010-09-29 Thread Alan Barrett
On Tue, 28 Sep 2010, Les Mikesell wrote: > It would have made sense to me to have the config/scripts versioned > but I've forgotten how that worked in CVS and I'm too lazy to look > it up. And I suppose it would be hard to change now in a > backwards-compatible way since svn doesn't keep the head v

Re: How reliable is svadmin verify?

2010-09-29 Thread Stefan Sperling
On Wed, Sep 29, 2010 at 05:33:10PM +0200, Thorsten Schöning wrote: > Guten Tag Stefan Sperling, > am Mittwoch, 29. September 2010 um 15:09 schrieben Sie: > > > Which versions were you using exactly? A lot has happened within > > the 1.6.x release series. > > Hello, > > I used version 1.6.6 and a

Re: How reliable is svadmin verify?

2010-09-29 Thread Thorsten Schöning
Guten Tag Stefan Sperling, am Mittwoch, 29. September 2010 um 15:09 schrieben Sie: > Which versions were you using exactly? A lot has happened within > the 1.6.x release series. Hello, I used version 1.6.6 and after upgrading to 1.6.12 verify fails with an error like dump did before. The error i

Re: Setting "tags" to read only ?

2010-09-29 Thread Alexander Skwar
Hi. 2010/9/29 Phil Pinkerton : > Is it possible to set these tags to read-only once ther are copied from the > trunk to the tags directory ? How about using access control http://svnbook.red-bean.com/en/1.5/svn.serverconfig.pathbasedauthz.html so that only a certain user or group has rw access t

RE: Setting "tags" to read only ?

2010-09-29 Thread Bailey, Darragh
> -Original Message- > From: Phil Pinkerton [mailto:pcpinker...@gmail.com] > Sent: 29 September 2010 15:20 > To: users@subversion.apache.org > Subject: Setting "tags" to read only ? > > How can we set a tag as read only at creation time ? > > We have a tags subdirectory and we keep tags

Re: Setting "tags" to read only ?

2010-09-29 Thread Les Mikesell
On 9/29/2010 9:20 AM, Phil Pinkerton wrote: How can we set a tag as read only at creation time ? We have a tags subdirectory and we keep tags created from trunk there, we want to set these tags to ready-only so they cannot be modified. You probably want a pre-commit hook that blocks commits t

Setting "tags" to read only ?

2010-09-29 Thread Phil Pinkerton
How can we set a tag as read only at creation time ? We have a tags subdirectory and we keep tags created from trunk there, we want to set these tags to ready-only so they cannot be modified. We also copy our tags to a static tag for build reference ( we call this a sliding tag ). The static tag

Project branches and product branches

2010-09-29 Thread Bailey, Darragh
Have an interesting issue with branching a product which is made of multiple components, each with it's own area in svn. Problem is probably mostly of our own making, and while there appears to be more than one solution, each has it's own problems. Before I go ahead and pick one, I'd just like

RE: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Edward Ned Harvey
> From: Rice Yeh [mailto:rice...@gmail.com] > >   I am trying to separate my project a-project into a-project/trunk and > a-project/branches. First, I like to move a-project to a-project/trunk. > But this is not allowed since trunk is inside a-project. I might first > move a-project to tmp and the

Re: [patch] for building subversion 1.6.12 for haiku

2010-09-29 Thread Daniel Shahaf
Send patches to d...@. http://subversion.apache.org/docs/community-guide/general.html#patches scott mc wrote on Tue, Sep 28, 2010 at 15:42:28 +: > Here is the patch we use for building subversion on Haiku. > -scottmc > > Scott McCreary > HaikuPorts

Re: calling a custoom perl script from pre-commit hook

2010-09-29 Thread David Weintraub
On Tue, Sep 28, 2010 at 8:38 PM, Charan wrote: > Hi Guys, > I have prepared my own custom perl script to check for logs and spaces in > file names but when I call the perl script from pre-commit hook, I'm seeing > the below error. Any suggestions from you? > svnlook: Can't open file 'format': No s

Re: How reliable is svadmin verify?

2010-09-29 Thread Stefan Sperling
On Wed, Sep 29, 2010 at 12:44:36PM +0200, Thorsten Schöning wrote: > Hello, > > I had to deal with a server crash the last days and had to restore our > repositories from some days old backups it seemed that we partly > backed up somehow corrupted data. I used svnadmin verify to check the > reposi

Re: Wrong value in db/format when creating from TortoiseSVN

2010-09-29 Thread Ryan Schmidt
On Sep 28, 2010, at 18:20, Tech Geek wrote: > My only other option now is to try upgrading the SVN server on the Linux > machine... That would be a good idea in any case. But if that can't be done, the previous suggestions were good ones too: * write a CGI script users can access over the we

Re: calling a custoom perl script from pre-commit hook

2010-09-29 Thread Ryan Schmidt
On Sep 28, 2010, at 19:38, Charan wrote: > I have prepared my own custom perl script to check for logs and spaces in > file names but when I call the perl script from pre-commit hook, I'm seeing > the below error. Any suggestions from you? > > svnlook: Can't open file 'format': No such file or

Re: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Ryan Schmidt
On Sep 29, 2010, at 04:50, Cooke, Mark wrote: > Why not just get a working copy, do your changes and then commit? No > need for a temp directory, just create new "trunk/", move all the files > and subfolders to the new dir (using svn tools of course), then commit. > > Or am I missing something o

How reliable is svadmin verify?

2010-09-29 Thread Thorsten Schöning
Hello, I had to deal with a server crash the last days and had to restore our repositories from some days old backups it seemed that we partly backed up somehow corrupted data. I used svnadmin verify to check the repositories during my repairs and found, that different versions of svnadmin behave

Re: I've messed with the repository - how to recover?

2010-09-29 Thread Daniel Shahaf
Tino Schwarze wrote on Wed, Sep 29, 2010 at 11:47:08 +0200: > Hi Daniel, > > On Wed, Sep 29, 2010 at 10:22:57AM +0200, Daniel Shahaf wrote: > > > > > > It looks like there are revisions which refer to future revisions. > > > > > > > > That's... weird. > > > > > > > > > Did I > > > > > miss some

RE: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Cooke, Mark
> -Original Message- > From: Tino Schwarze [mailto:subversion.li...@tisc.de] > Sent: 29 September 2010 09:14 > To: users@subversion.apache.org > Subject: Re: Is there a clean way to move a-project to a-project/trunk > > On Wed, Sep 29, 2010 at 03:32:07PM +0800, Rice Yeh wrote: > > > I

Re: I've messed with the repository - how to recover?

2010-09-29 Thread Tino Schwarze
Hi Daniel, On Wed, Sep 29, 2010 at 10:22:57AM +0200, Daniel Shahaf wrote: > > > > It looks like there are revisions which refer to future revisions. > > > > > > That's... weird. > > > > > > > Did I > > > > miss something? I've seen rep-cache.db hanging around - might this have > > > > caused pr

Re: Very poor performance when checking out large number of binary files

2010-09-29 Thread Niklas Deutschmann
I'm currently trying to reproduce this as I'm interested in this type of problem but I'm having difficulty with svn 1.6 and am time constrained so will give it another shot later. Not really helpful and more discussion than anything but it sounds a lot like a common performance gotcha that appears

Re: I've messed with the repository - how to recover?

2010-09-29 Thread Daniel Shahaf
Tino Schwarze wrote on Wed, Sep 29, 2010 at 10:12:08 +0200: > > > It looks like there are revisions which refer to future revisions. > > > > That's... weird. > > > > > Did I > > > miss something? I've seen rep-cache.db hanging around - might this have > > > caused problems since it still containe

Re: Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Tino Schwarze
On Wed, Sep 29, 2010 at 03:32:07PM +0800, Rice Yeh wrote: > I am trying to separate my project a-project into a-project/trunk and > a-project/branches. First, I like to move a-project to a-project/trunk. But > this is not allowed since trunk is inside a-project. I might first move > a-project to

Re: I've messed with the repository - how to recover?

2010-09-29 Thread Tino Schwarze
Hi Daniel, On Wed, Sep 29, 2010 at 09:43:19AM +0200, Daniel Shahaf wrote: > > during preparing a CVS->Subversion conversion I've messed with the > > repository. There are some post-conversion steps to get things into > > shape and fix up certain shortcomings of the conversion. Since I didn't > >

Re: Why is --reintegrate neccessary?

2010-09-29 Thread Tino Schwarze
On Thu, Sep 23, 2010 at 10:37:30AM -0400, Bob Archer wrote: > > > The critical paragraph is this one: > > > > > > "When merging your branch back to the trunk, however, the underlying > > > mathematics is quite different. Your feature branch is now a mishmosh > > > of both duplicated trunk changes

Re: I've messed with the repository - how to recover?

2010-09-29 Thread Daniel Shahaf
Tino Schwarze wrote on Wed, Sep 29, 2010 at 09:28:12 +0200: > Hi there, > > during preparing a CVS->Subversion conversion I've messed with the > repository. There are some post-conversion steps to get things into > shape and fix up certain shortcomings of the conversion. Since I didn't > want to c

Is there a clean way to move a-project to a-project/trunk

2010-09-29 Thread Rice Yeh
Hi, I am trying to separate my project a-project into a-project/trunk and a-project/branches. First, I like to move a-project to a-project/trunk. But this is not allowed since trunk is inside a-project. I might first move a-project to tmp and then move tmp to a-project/trunk. But the tmp director

I've messed with the repository - how to recover?

2010-09-29 Thread Tino Schwarze
Hi there, during preparing a CVS->Subversion conversion I've messed with the repository. There are some post-conversion steps to get things into shape and fix up certain shortcomings of the conversion. Since I didn't want to convert the repository again (it takes about 12 hours), I thought, I'd ju