restoring a working copy from backup: can the pristine directory be recreated?

2013-03-27 Thread Niemann, Hartmut
Hello!

If I backup a working copy, the .svn folder and especially the pristine 
directory there, where subversion stores the base version of each file, takes 
lots of space.

I used to exclude the .svn directory from this backup, but now I had to restore 
my hard drive with all its working data and found it annoying to have to 
recreate every working copy. 

If subversion could retrieve a broken or missing pristine file, which it can't 
now in tortoise SVN 1.7.11, it would be sufficient to backup the files in the 
.svn directory, which would save almost half the space.

Is there any way to repair/refresh a pristine directory in subversion? Or is a 
fresh checkout the only option?

With best regards

Hartmut
 


Re: svn merge --record-only reports extraneous paths

2013-03-27 Thread Stefan Sperling
On Wed, Mar 27, 2013 at 02:37:24PM +1000, Daniel Becroft wrote:
 Hi,
 
 When running an 'svn merge -c', I get a particular set of paths updated
 with svn:mergeinfo. Fine, no issues with this.
 
 However, when running an 'svn merge -c --record-only', I get a far greater
 set of paths *reported* as updated, but they actually aren't. The paths
 that are report actually do have their own 'svn:mergeinfo' properties, but
 they don't get changes by the merge command (which I expected).
 
 I think the paths either need to be updated, or not displays.
 
 Using: svn 1.7.7

This is a known issue. The new behaviour described at
http://subversion.apache.org/docs/release-notes/1.7.html#subtree-mergeinfo-recording
wasn't implemented for record-only merges.

Record-only merges still update all subtree mergeinfo within the
merge target. I don't know why record-only merges behave differently,
and I've tried but cannot find a reference that explains this.
Perhaps the new behaviour is too difficult to implement for record-only
merges, or maybe this difference exists on purpose.



SVN Speed issue

2013-03-27 Thread Ajay Pawar

Hi team,

I am handling SVN operations in my company.
Today we find that SVN Speed is too much slow.

VisualSVN Server : 2.5.7
Tortoise SVN : 1.6

Regrads,
Ajay Pawar



SVN Speed Issue

2013-03-27 Thread Ajay Pawar

Hi Team,

I am handling SVN operations in my company.
Today we find that SVN Speed is too much slow.

VisualSVN Server : 2.5.7
Tortoise SVN : 1.6

Network team of the organization has cleared that there no issue in network.

Please help me what to do about this issue.
Users are mailing me one by one since morning.

Regrads,
Ajay Pawar



Re: SVN Speed issue

2013-03-27 Thread Thorsten Schöning
Guten Tag Ajay Pawar,
am Mittwoch, 27. März 2013 um 11:43 schrieben Sie:

 Today we find that SVN Speed is too much slow.

That's bad to hear, but thanks for the info.

http://www.catb.org/esr/faqs/smart-questions.html

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow



Re: restoring a working copy from backup: can the pristine directory be recreated?

2013-03-27 Thread Andreas Krey
On Wed, 27 Mar 2013 10:21:01 +, Niemann, Hartmut wrote:
...
 Is there any way to repair/refresh a pristine directory in subversion? Or is 
 a fresh checkout the only option?

You could just do a fresh checkout and then untar your backup onto
that sandbox.

HOWEVER: You need to checkout the revision that was current when
the backup was made, and not a later that has committed changes
to the files in the sandbox. You'd undo those by unpacking the tar file.

Andreas

-- 
Totally trivial. Famous last words.
From: Linus Torvalds torvalds@*.org
Date: Fri, 22 Jan 2010 07:29:21 -0800


Re: restoring a working copy from backup: can the pristine directory be recreated?

2013-03-27 Thread Stefan Sperling
On Wed, Mar 27, 2013 at 03:36:35PM +0100, Andreas Krey wrote:
 On Wed, 27 Mar 2013 10:21:01 +, Niemann, Hartmut wrote:
 ...
  Is there any way to repair/refresh a pristine directory in subversion? Or 
  is a fresh checkout the only option?
 
 You could just do a fresh checkout and then untar your backup onto
 that sandbox.

Working copies can be mixed-revision, which makes this approach very fragile.
http://svnbook.red-bean.com/en/1.7/svn.basic.in-action.html#svn.basic.in-action.mixedrevs
You'd have to save the output of svn info -R as well and recreate
the mixed-revision working copy before copying files from backup.

I would recommend to *commit* the working copy to a temporary branch
instead of backing it up. And worrying about backing up the repository,
not working copies.

Backup (if you have time to fix potential conflicts):

  svn co https://svn.example.com/svn/trunk
  cd trunk
  # make changes, realise you need to stash changes
  svn cp ^/trunk ^/branches/my-stash # create a single-rev copy of trunk
  svn sw ^/branches/my-stash   # switch working copy to stash branch
  # fix conflicts from incoming changes, if any
  svn commit

Backup (if you don't have time to fix potential conflicts):

  svn co https://svn.example.com/svn/trunk
  cd trunk
  # make changes, realise you need to stash changes
  svn cp . ^/branches/my-stash  # maybe commits a mixed-rev working copy
# but that is ok, we fix conflicts later

Restore:

  svn co https://svn.example.com/svn/my-stash
  cd my-stash
  svn merge ^/trunk
  # fix conflicts
  svn commit

  svn co https://svn.example.com/svn/trunk
  cd trunk
  svn merge --reintegrate ^/branches/my-stash
  # fix conflicts
  svn commit

You could probably omit the first block of commands, and try the
reintegrate merge right away.


RE: SVN Speed issue

2013-03-27 Thread Bob Archer
 I am handling SVN operations in my company.
 Today we find that SVN Speed is too much slow.
 
 VisualSVN Server : 2.5.7
 Tortoise SVN : 1.6

Is that a question? 

Slow where? Client? 1.7 shows to be much faster for many client side 
operations. 

BOb



RE: SvnServe with Windows AD Authendication

2013-03-27 Thread Bob Archer
 Hi,
 
 I'm not a Windows guy and am not familiar with the services that Windows
 2003 Server provides. Could you explain in more detail in what ways you want
 Subversion to integrate with it?
 
 Right now we are using svn internal authentication( passwd and svnserve.conf)
 
 Instead Of we are plan to use windows Active directory account for SVN.
 

If you use SVN Edge it is very easy to use your windows domain logins with it. 
You just need to know your active directory server, OU names and such. We have 
ours set up this way.

BOb



 From:
 Ryan Schmidt subversion-20...@ryandesign.com
 To:
 Krishnamoorthi Gopal krishnamoor...@vernal.is
 Cc:
 Mark Phippard markp...@gmail.com, Joseba Ercilla Olabarri
 joseba.erci...@gmail.com, users@subversion.apache.org
 Date:
 03/27/2013 04:48 AM
 Subject:
 Re: SvnServe with Windows AD Authendication
 
 
 
 
 
 
 On Mar 26, 2013, at 15:49, Krishnamoorthi Gopal wrote:
 
  Right now i am having more than 250 repository with format what described
 below.
 
  I am going to put entry for each repository what you suggest. Is this
 advisable
 
 Subversion is flexible, so if this type of hierarchical arrangement makes the
 most sense to you, then you can certainly do that -- at the expense of having 
 to
 maintain this configuration yourself in the Apache configuration file, 
 instead of
 using the easier interface Subversion Edge makes available.
 
 
  Also i want to integrate svn with windows 2003 server.i hope you guide me .
 
 I'm not a Windows guy and am not familiar with the services that Windows
 2003 Server provides. Could you explain in more detail in what ways you want
 Subversion to integrate with it?
 
 
 
 
 VERNALIS SYSTEMS EMAIL NOTICE
 -
 The information contained in this email and any attachments is confidential
 and may be subject to copyright or other intellectual property protection. If 
 you
 are not the intended recipient, you are not authorized to use or disclose this
 information, and we request that you notify us by reply mail or telephone and
 delete the original message from your mail system.


Re: SvnServe with Windows AD Authendication

2013-03-27 Thread Krishnamoorthi Gopal
Hi,

Please share your thoughts

I'm not a Windows guy and am not familiar with the services that Windows 
2003 Server provides. Could you explain in more detail in what ways you 
want Subversion to integrate with it?

Right now we are using svn internal authentication( passwd and 
svnserve.conf)

Instead Of we are plan to use windows Active directory account for SVN.

Regards
Support Team.



From:
Ryan Schmidt subversion-20...@ryandesign.com
To:
Krishnamoorthi Gopal krishnamoor...@vernal.is
Cc:
Mark Phippard markp...@gmail.com, Joseba Ercilla Olabarri 
joseba.erci...@gmail.com, users@subversion.apache.org
Date:
03/27/2013 04:48 AM
Subject:
Re: SvnServe with Windows AD Authendication




On Mar 26, 2013, at 15:49, Krishnamoorthi Gopal wrote:

 Right now i am having more than 250 repository with format what 
described below. 
 
 I am going to put entry for each repository what you suggest. Is this 
advisable 

Subversion is flexible, so if this type of hierarchical arrangement makes 
the most sense to you, then you can certainly do that -- at the expense of 
having to maintain this configuration yourself in the Apache configuration 
file, instead of using the easier interface Subversion Edge makes 
available.


 Also i want to integrate svn with windows 2003 server.i hope you guide 
me . 

I'm not a Windows guy and am not familiar with the services that Windows 
2003 Server provides. Could you explain in more detail in what ways you 
want Subversion to integrate with it?




VERNALIS SYSTEMS EMAIL NOTICE
-
The information contained in this email and any attachments is 
confidential and may be subject to copyright or other intellectual 
property protection. If you are not the intended recipient, you are not 
authorized to use or disclose this information, and we request that you 
notify us by reply mail or telephone and delete the original message from 
your mail system.

RE: SvnServe with Windows AD Authendication

2013-03-27 Thread Krishnamoorthi Gopal
Hi,

Yes i agree with your statement.

But i am currently having SVN Server 1.5 without apache.

Also my current repositories look like below
 
svn://svnserver/svn/Projectname1/myrepo2  
svn://svnserver/svn/Projectname1/myrepo3   
svn://svnserver/svn/Projectname2/myrepo1   

Each Project having two more repositories.How can i move these repository 
with same url setup into Edge.

Please guide me to migrate my current setup into  what you have.

Regards
Support Team.



From:
Bob Archer bob.arc...@amsi.com
To:
Krishnamoorthi Gopal krishnamoor...@vernal.is, Ryan Schmidt 
subversion-20...@ryandesign.com
Cc:
Joseba Ercilla Olabarri joseba.erci...@gmail.com, Mark Phippard 
markp...@gmail.com, users@subversion.apache.org 
users@subversion.apache.org
Date:
03/27/2013 10:13 PM
Subject:
RE: SvnServe with Windows AD Authendication



 Hi,
 
 I'm not a Windows guy and am not familiar with the services that 
Windows
 2003 Server provides. Could you explain in more detail in what ways you 
want
 Subversion to integrate with it?
 
 Right now we are using svn internal authentication( passwd and 
svnserve.conf)
 
 Instead Of we are plan to use windows Active directory account for SVN.
 

If you use SVN Edge it is very easy to use your windows domain logins with 
it. You just need to know your active directory server, OU names and such. 
We have ours set up this way.

BOb



 From:
 Ryan Schmidt subversion-20...@ryandesign.com
 To:
 Krishnamoorthi Gopal krishnamoor...@vernal.is
 Cc:
 Mark Phippard markp...@gmail.com, Joseba Ercilla Olabarri
 joseba.erci...@gmail.com, users@subversion.apache.org
 Date:
 03/27/2013 04:48 AM
 Subject:
 Re: SvnServe with Windows AD Authendication
 
 
 
 
 
 
 On Mar 26, 2013, at 15:49, Krishnamoorthi Gopal wrote:
 
  Right now i am having more than 250 repository with format what 
described
 below.
 
  I am going to put entry for each repository what you suggest. Is this
 advisable
 
 Subversion is flexible, so if this type of hierarchical arrangement 
makes the
 most sense to you, then you can certainly do that -- at the expense of 
having to
 maintain this configuration yourself in the Apache configuration file, 
instead of
 using the easier interface Subversion Edge makes available.
 
 
  Also i want to integrate svn with windows 2003 server.i hope you guide 
me .
 
 I'm not a Windows guy and am not familiar with the services that Windows
 2003 Server provides. Could you explain in more detail in what ways you 
want
 Subversion to integrate with it?
 
 
 
 
 VERNALIS SYSTEMS EMAIL NOTICE
 -
 The information contained in this email and any attachments is 
confidential
 and may be subject to copyright or other intellectual property 
protection. If you
 are not the intended recipient, you are not authorized to use or 
disclose this
 information, and we request that you notify us by reply mail or 
telephone and
 delete the original message from your mail system.



VERNALIS SYSTEMS EMAIL NOTICE
-
The information contained in this email and any attachments is 
confidential and may be subject to copyright or other intellectual 
property protection. If you are not the intended recipient, you are not 
authorized to use or disclose this information, and we request that you 
notify us by reply mail or telephone and delete the original message from 
your mail system.

Re: SvnServe with Windows AD Authendication

2013-03-27 Thread Mark Phippard
On Wed, Mar 27, 2013 at 12:54 PM, Krishnamoorthi Gopal 
krishnamoor...@vernal.is wrote:


 Hi,

 Yes i agree with your statement.

 But i am currently having SVN Server 1.5 without apache.

 *Also my current repositories look like below*

 svn://svnserver/svn/Projectname1/myrepo2https://svnserver/svn/Projectname/myrepo2
 svn://svnserver/svn/Projectname1/myrepo3https://svnserver/svn/Projectname/myrepo3
 svn://svnserver/svn/Projectname2/myrepo1https://svnserver/svn/Projectname/myrepo3

 Each Project having two more repositories.How can i move these repository
 with same url setup into Edge.


SVN Edge does not support svn:// protocol, so your URL has to change no
matter what.  You also cannot use AD authentication with svn:// protocol.

Given that you have to change from svn:// to http:// then why not just
change the rest and put the repositories all in the same folder?  Or rename
the repositories to something like  projectname1_myrepo1  so that they
could all live in the same folder.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/


RE: SvnServe with Windows AD Authendication

2013-03-27 Thread Bob Archer
 Hi,
 
 Yes i agree with your statement.
 
 But i am currently having SVN Server 1.5 without apache.
 
 Also my current repositories look like below
 
 svn://svnserver/svn/Projectname1/myrepo2
 svn://svnserver/svn/Projectname1/myrepo3
 svn://svnserver/svn/Projectname2/myrepo1
 
 Each Project having two more repositories.How can i move these repository
 with same url setup into Edge.
 
 Please guide me to migrate my current setup into  what you have.

I have not known (or read about) anyone to get Active Directory working with 
svnserver. Supposedly it is possible... so someone else would have to help you. 

If you move to edge you would be using Apache and would be changing to the 
http:// protocol. So, your URL would change, but your clients can use a simple 
switch command to modify the URL of their existing working copies, we did the 
same thing. The main reason I moved to SVN Edge was to be able to use Active 
Directory (windows domain) logins so I wouldn't have to manage passwords. Now I 
just need to add/remove people from an Active Directory group that IT made me 
the admin of.

Also, moving to edge would be an easy way to upgrade to 1.7.x, since that is 
the latest and greatest. 

You also should be able to set up SVN Edge without taking down your svnserve 
instance. Once you are satisfied that it is up and running and everything is 
working you can notify your users that they need to switch to the new url, and 
then you can stop the svnserve service.



 
 Regards
 Support Team.
 
 From:
 Bob Archer bob.arc...@amsi.com
 To:
 Krishnamoorthi Gopal krishnamoor...@vernal.is, Ryan Schmidt subversion-
 20...@ryandesign.com
 Cc:
 Joseba Ercilla Olabarri joseba.erci...@gmail.com, Mark Phippard
 markp...@gmail.com, users@subversion.apache.org
 users@subversion.apache.org
 Date:
 03/27/2013 10:13 PM
 Subject:
 RE: SvnServe with Windows AD Authendication
 
 
 
 
 
  Hi,
 
  I'm not a Windows guy and am not familiar with the services that
  Windows
  2003 Server provides. Could you explain in more detail in what ways
  you want Subversion to integrate with it?
 
  Right now we are using svn internal authentication( passwd and
  svnserve.conf)
 
  Instead Of we are plan to use windows Active directory account for SVN.
 
 
 If you use SVN Edge it is very easy to use your windows domain logins with it.
 You just need to know your active directory server, OU names and such. We
 have ours set up this way.
 
 BOb
 
 
 
  From:
  Ryan Schmidt subversion-20...@ryandesign.com
  To:
  Krishnamoorthi Gopal krishnamoor...@vernal.is
  Cc:
  Mark Phippard markp...@gmail.com, Joseba Ercilla Olabarri
  joseba.erci...@gmail.com, users@subversion.apache.org
  Date:
  03/27/2013 04:48 AM
  Subject:
  Re: SvnServe with Windows AD Authendication
 
  
 
 
 
 
  On Mar 26, 2013, at 15:49, Krishnamoorthi Gopal wrote:
 
   Right now i am having more than 250 repository with format what
   described
  below.
  
   I am going to put entry for each repository what you suggest. Is
   this
  advisable
 
  Subversion is flexible, so if this type of hierarchical arrangement
  makes the most sense to you, then you can certainly do that -- at the
  expense of having to maintain this configuration yourself in the
  Apache configuration file, instead of using the easier interface Subversion
 Edge makes available.
 
 
   Also i want to integrate svn with windows 2003 server.i hope you guide me 
   .
 
  I'm not a Windows guy and am not familiar with the services that
  Windows
  2003 Server provides. Could you explain in more detail in what ways
  you want Subversion to integrate with it?
 
 
 
 
  VERNALIS SYSTEMS EMAIL NOTICE
  -
  The information contained in this email and any attachments is
  confidential and may be subject to copyright or other intellectual
  property protection. If you are not the intended recipient, you are
  not authorized to use or disclose this information, and we request
  that you notify us by reply mail or telephone and delete the original 
  message
 from your mail system.
 
 
 
 VERNALIS SYSTEMS EMAIL NOTICE
 -
 The information contained in this email and any attachments is confidential
 and may be subject to copyright or other intellectual property protection. If 
 you
 are not the intended recipient, you are not authorized to use or disclose this
 information, and we request that you notify us by reply mail or telephone and
 delete the original message from your mail system.


Re: SvnServe with Windows AD Authendication

2013-03-27 Thread Krishnamoorthi Gopal
Hi Mark,

Currently my svn server used in production and it's having more than 5 
repository inside each project Folder.
.
If i moved all repository into root what you said below,again i want  to 
redistribute the New SVN URL to users right..?

Please advise to me overcome this issue

Thanks again

Sorry for my typos

Regards
Support Team.



From:
Mark Phippard markp...@gmail.com
To:
Krishnamoorthi Gopal krishnamoor...@vernal.is
Cc:
Bob Archer bob.arc...@amsi.com, Joseba Ercilla Olabarri 
joseba.erci...@gmail.com, Ryan Schmidt 
subversion-20...@ryandesign.com, users@subversion.apache.org 
users@subversion.apache.org
Date:
03/27/2013 10:30 PM
Subject:
Re: SvnServe with Windows AD Authendication



On Wed, Mar 27, 2013 at 12:54 PM, Krishnamoorthi Gopal 
krishnamoor...@vernal.is wrote:

Hi, 

Yes i agree with your statement. 

But i am currently having SVN Server 1.5 without apache. 

Also my current repositories look like below 
  
svn://svnserver/svn/Projectname1/myrepo2   
svn://svnserver/svn/Projectname1/myrepo3   
svn://svnserver/svn/Projectname2/myrepo1   

Each Project having two more repositories.How can i move these repository 
with same url setup into Edge. 

SVN Edge does not support svn:// protocol, so your URL has to change no 
matter what.  You also cannot use AD authentication with svn:// protocol.

Given that you have to change from svn:// to http:// then why not just 
change the rest and put the repositories all in the same folder?  Or 
rename the repositories to something like  projectname1_myrepo1  so that 
they could all live in the same folder.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/ 


VERNALIS SYSTEMS EMAIL NOTICE
-
The information contained in this email and any attachments is 
confidential and may be subject to copyright or other intellectual 
property protection. If you are not the intended recipient, you are not 
authorized to use or disclose this information, and we request that you 
notify us by reply mail or telephone and delete the original message from 
your mail system.

RE: SVN Speed issue

2013-03-27 Thread Ajay Pawar
Hi Bob,

Thanks for your suggestion but I am using 1.7.7 client only.
Repo browser takes almost 3-5 mins to open the repository.

Is there any option by which we can increase the SVN performance ? 

Regards,
Ajay Pawar
SVN_Helpdesk

-Original Message-
From: Bob Archer [mailto:bob.arc...@amsi.com] 
Sent: Wednesday, March 27, 2013 10:09 PM
To: Ajay Pawar; users@subversion.apache.org
Subject: RE: SVN Speed issue

 I am handling SVN operations in my company.
 Today we find that SVN Speed is too much slow.
 
 VisualSVN Server : 2.5.7
 Tortoise SVN : 1.6

Is that a question? 

Slow where? Client? 1.7 shows to be much faster for many client side 
operations. 

BOb