unsubscribe

2020-04-25 Thread Eramo, Mark
unsubscribe

Mark Eramo
Manager, Salesforce Administration, HBS IT
Travis 307
Harvard Business School
Soldiers Field
Boston, MA 02163

phone: 617.495.2421
email: mer...@hbs.edu

https://www.hbs.edu/it
twitter.com/HarvardHBS





RE: New Server because of Crash

2011-12-06 Thread Eramo, Mark
Check this link out: 
http://msmvps.com/blogs/rexiology/archive/2006/05/03/93203.aspx
It has some useful information.  

When you load the SVN dump file into the new repo, you can pass the 
--force-uuid  parameter 
It should load the uuid from the other repository.

Mark


-Original Message-
From: K F [mailto:cmkfo...@yahoo.com] 
Sent: Tuesday, December 06, 2011 1:34 PM
To: users@subversion.apache.org; Thorsten Schöning
Subject: Re: New Server because of Crash



--- On Tue, 12/6/11, Thorsten Schöning tschoen...@am-soft.de wrote:

 From: Thorsten Schöning tschoen...@am-soft.de
 Subject: Re: New Server because of Crash
 To: users@subversion.apache.org
 Date: Tuesday, December 6, 2011, 4:19 PM Guten Tag K F, am Dienstag, 
 6. Dezember 2011 um 16:58 schrieben Sie:
 
  The backups were done using svn dump.
 
 This means you have to manually create each repository and copy all 
 hooks, configurations etc. from the old server. On svnadmin load you 
 have to take special care on using the old uuids for the new 
 repositories or all working copies need to get checked out, I think, 
 not even switch --relocate works anymore.
 
  The new server is planned to
  be named the same. Does that mean the switch wouldn't
 need to be done?
 
 I think so, if you use the same uuids for your newly created 
 repository as the old ones used.
 
 Mit freundlichen Grüßen,
 
 Thorsten Schöning
 


How would I get the uuid's. We have the dump, but I believe that is it. Can the 
uuids be obtained from them, would it be simpler to just have everyone do a new 
checkout? 


RE: Setting a web page at the repositories' parent URL

2010-11-05 Thread Eramo, Mark
Hi Gingko
   I have had success setting up several repositories in Apache as follows...

In the httpd-subversion.conf file, I have the various repositories defined like 
this.

Location /svn/repo1
   SVNPath /path/to/repo1
.
.
.
/Location

Location /svn/repo2
   SVNPath /path/to/repo2
.
.
.
/Location

Location /svn/repo3
   SVNPath /path/to/repo3
.
.
.
/Location

Then when I hit http://server/svn/repo1, I get access to repo1, I hit 
http://server/svn/repo1, I get access to repo2, etc. 

If you use SVNParentPath instead of SVNPath, you can have issues so this seems 
to work well for me. 

As far as a web page goes, you could create a custom index.html that has all 
the links to the various repositories so if users just goes right to 
http://server, they see the custom index.html which has all the repository 
links.  
There should already be a default index.html in the Apache /htdocs folder that 
has It Works! in it. You could just back that one up and replace it with a 
new index.html that has the links to all the repositories.

Regards,
Mark



-Original Message-
From: Gingko [mailto:from_tig...@nospam.homelinux.org] 
Sent: Friday, November 05, 2010 11:12 AM
To: Subversion User List
Subject: Setting a web page at the repositories' parent URL

Hello,

I have a question concerning the mod_dav_svn module that Apache use for 
accessing the repositories.

According to the documentation, if I set a configuration like this one :

Location /svn
DAV svn
SVNParentPath /var/lib/svn
/Location

... I define a parent directory under which I can put all of my repositories.

So I can access them like this :

http://www.myserver.com/svn/my_first_repository/
http://www.myserver.com/svn/my_second_repository/
http://www.myserver.com/svn/my_third_repository/
http://www.myserver.com/svn/my_fourth_repository/
etc.

But if I just type :
http://www.myserver.com/svn/

I get a page like this one:

--
Forbidden
You don't have permission to access /svn/ on this server.

Apache/2.2.9 (Debian) DAV/2 SVN/1.6.12 PHP/5.2.13 mod_perl/2.0.4
Perl/v5.10.0 Server at www.myserver.com Port 80
--

This is quite ugly, and I saw several SVN servers exhibiting this behavior.

Is there a way to put a web page on this location?

(for example a blank page, or a page with links to the only repositories that I 
want to be publicly accessible for reading)

Best regards,

GIngko




RE: Setting a web page at the repositories' parent URL

2010-11-05 Thread Eramo, Mark
I had issues with SVNParentPath but I think it was how I set it up. When I set 
it up the way I showed, it worked well.  When I was doing this, I did not find 
docs that explained SVNParentPath well enough to me so maybe that is why I had 
the setup issues. 

Regards,
Mark


-Original Message-
From: Ryan Schmidt [mailto:subversion-20...@ryandesign.com] 
Sent: Friday, November 05, 2010 3:05 PM
To: Eramo, Mark
Cc: Subversion User List
Subject: Re: Setting a web page at the repositories' parent URL

On Nov 5, 2010, at 13:50, Eramo, Mark wrote:

   I have had success setting up several repositories in Apache as follows...
 
 In the httpd-subversion.conf file, I have the various repositories defined 
 like this.
 
 Location /svn/repo1
   SVNPath /path/to/repo1
 .
 .
 .
 /Location
 
 Location /svn/repo2
   SVNPath /path/to/repo2
 .
 .
 .
 /Location
 
 Location /svn/repo3
   SVNPath /path/to/repo3
 .
 .
 .
 /Location
 
 Then when I hit http://server/svn/repo1, I get access to repo1, I hit 
 http://server/svn/repo1, I get access to repo2, etc. 

That's exactly what SVNParentPath is supposed to let you do more easily and 
concisely.


 As far as a web page goes, you could create a custom index.html that has all 
 the links to the various repositories so if users just goes right to 
 http://server, they see the custom index.html which has all the repository 
 links.  
 There should already be a default index.html in the Apache /htdocs folder 
 that has It Works! in it. You could just back that one up and replace it 
 with a new index.html that has the links to all the repositories.

That's exactly what SVNListParentPath is for.


 If you use SVNParentPath instead of SVNPath, you can have issues so this 
 seems to work well for me. 

What issues are you referring to?




Promting files from trunk to a specific tag

2010-07-09 Thread Eramo, Mark
I have a question.

In CVS, if I made changes to some files in the trunk, I could promote those 
into a specific tag. Is it possible to do the same in SVN?

I have a few files in the trunk that I want to promote to an existing tag 
without creating a new tag. Just curious if this is possible and how it is done.

Regards,
Mark



RE: Partial Checkout Script

2010-05-18 Thread Eramo, Mark
Thanks for the suggestion Tyler. I will take a look at the docs for this. 

Mark


-Original Message-
From: Tyler Roscoe [mailto:ty...@cryptio.net] 
Sent: Monday, May 17, 2010 3:55 PM
To: Eramo, Mark
Cc: users@subversion.apache.org
Subject: Re: Partial Checkout Script

On Mon, May 17, 2010 at 03:41:22PM -0400, Eramo, Mark wrote:
 I am wondering if there is a simple way to script the checkout of only
 certain project folders in SVN without checking out others.

You want to create a sparse working copy. Look at the --depth options
to update and checkout. 

Note that sparse working copies sometimes don't play nice with different
kinds of merge operations. For day-to-day work they can be extremely
handy, though.

tyler


Partial Checkout Script

2010-05-17 Thread Eramo, Mark
I am wondering if there is a simple way to script the checkout of only certain 
project folders in SVN without checking out others.

For example, I have all my projects setup with tags, branches and trunk folders 
underneath the project name and I want to run a script that says go through the 
projects tree and find all trunk and branches folders and check them out but 
ignore the tags folders.

I am setting up opengrok for svn searching and I really only care about 
searching the trunk and branches folders. I do not want to include the tags 
folders as that will make the indexing process take way to long and take up too 
much disk space.

Any thoughts or ideas would be much appreciated.

Thanks,
Mark



RE: The use of SVNROOT

2010-03-08 Thread Eramo, Mark

There is no equivalent of CVSROOT in Subversion. But when it has been asked 
for before, the response has been: what do you need it for? If you just want a 
shortcut for checking out, define an environment variable and use that. This 
is what I do in my ~/.bashrc:

export M=http://svn.macosforge.org/repository/macports;

Then I can for example:

svn checkout $M/trunk/dports

or

svn log $M --limit 5

I use the variable M because it's easy to remember that it stands for 
MacPorts and I'm not using it for anything else, but you can name it anything 
you want, or define multiple env vars for multiple repositories or multiple 
paths within a repository (for example, a separate variable for the trunk, or 
for a deep path within the repo that you often want to refer to).

Remember, the working copy stores the repository URL it was checked out from, 
so the only time you need the repository URL is when you're checking out or 
when you're asking for a log or similar function and aren't already sitting in 
the working copy's directory.

Thanks for the reply Ryan. I was thinking about doing something like this but I 
wanted to confirm the need of SVNROOT first.

Regards,

Mark




The use of SVNROOT

2010-03-05 Thread Eramo, Mark
Hello,
   I am working with Subversion 1.6.9 and was wondering if there was a way to 
setup the SVNROOT variable so that I do not have to type it every time I for 
example, need to checkout a new project.

With cvs, we defined cvsroot in our env. It was for example 
CVSROOT=pserver:/usr/local/cvsroot

Then when we did a cvs checkout, it resolved cvsroot automatically

Instead of having to type cvs co /usr/local/cvsroot/path/to/project   All we 
had to do was type cvs co path/to/project

Trying to figure out if there is a way to do this with SVNROOT so that instead 
of typing svn co $SVNROOT/path/to/project, I could just type svn co 
/path/to/project and have it automatically resolve $SVNROOT.

Thanks,
Mark


SVN DIFF QUESTION

2010-02-19 Thread Eramo, Mark
Hello,

I am trying to diff the trunk and a specific tag of a project in SVN to get a 
list of files that have changed AND a list of any new files
that were added to the trunk since the tag but I am not able to get the same 
results as with CVS diff.

For example, I add a new java file to the trunk.

I then run the following diff command (code path has been removed *** )

svn diff $SVNROOT/project/***/trunk/ $SVNROOT/project/***/tags/v2_3_4/

It produces results showing the new file as follows:

Index: java/***/Item-NEW.java
===

--- java/***/Item-NEW.java   (.../trunk) (revision 100089)
+++ java/**/Item-NEW.java(.../tags/v2_3_4)   (revision 100089)

So it shows the file change but it does not show the file as being new to the 
trunk (or does it?). Anyway, it is not easy to distinguish if it was updated or 
added.

If I were to do a cvs diff, it would produce results like this.

diffing /java/***
cvs diff: tag v2_3_4 is not in file java/***/Item-NEW.java

I could then use egrep to extract all these lines from the diff and I would 
have a list of new files between the head and the tag.

Is there a way to do something similar in SVN?

Thanks!

Mark



RE: SVN DIFF QUESTION

2010-02-19 Thread Eramo, Mark
Ahh, thanks for the tip, that looks like that does the trick. Updated files 
show as M and new files show as A.

I realize now when I was researching this, I was looking at older docs which do 
not have this option.

I checked the 1.6 docs at svnbook.red-bean.com and I see that option listed.

Anyway, thanks for pointing me to that! 

Regards,
Mark


-Original Message-
From: Tyler Roscoe [mailto:ty...@cryptio.net] 
Sent: Friday, February 19, 2010 12:34 PM
To: Eramo, Mark
Cc: users@subversion.apache.org
Subject: Re: SVN DIFF QUESTION

On Fri, Feb 19, 2010 at 11:40:19AM -0500, Eramo, Mark wrote:
 I am trying to diff the trunk and a specific tag of a project in SVN
 to get a list of files that have changed AND a list of any new files
 that were added to the trunk since the tag but I am not able to get
 the same results as with CVS diff.

How about svn diff --summarize (and maybe --xml)?

tyler