[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Beginner's questions

From: Appleton, Will <William.Appleton_at_sedgwickcms.com>
Date: 2007-05-30 18:33:09 CEST

Holger Schulz wrote:
> after installing Subversion via fink on MacOS X 10.4.9 and running
> some test, I have some questions which some of you might be able to
> answer.
>
> 1. Okay, the data in my repositories will mainly be LaTeX files,
> since I need these for my work. Typesetting will produce PDF file,
> which shouldn't be merged but overwritten. Does subversion know that
> overwriting is necessary in these cases ordoes I have to tell it
> somehow? Same question for MS-Word documents and similar which I have
> to use sometimes in collaboration with some colleagues.

Basically, anything with an svn:mime-type property set to a non-text
type,
for example "application/octet-stream", isn't going to be automagically
merged.
See
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.props.
special.mime-type
 
> 2. Currently I have a G4 desktop which holds the repositories. I also
> have a PowerBook which I you for work at home and from outside. At
> home I connect the desktop from the book via its Bonjour name
> <something>.local, to connect it within my local net. From outside I
> have to use a global name (in this case via dyndns). So the problem
> appears that the same repository might apear under two different
> names. How can I tell the working copy that its repository has
> "moved"?

See
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.ref.svn.c.switc
h for example of using svn switch with --relocate:

svn switch URL [PATH]
switch --relocate FROM TO [PATH...]

"This subcommand updates your working copy to mirror a new URL-usually a
URL which shares a common ancestor with your working copy, although not
necessarily. This is the Subversion way to move a working copy to a new
branch. See the section called "Traversing Branches" for an in-depth
look at switching."

 
> 3. What is a good way of backing up repositories? My current test
> repository is located in my Documents folder, so it will be included,
> when I burn this folder on CD. Will this copy be work after playing
> in back from the CD in case? Are there better ideas?
>
> Thanks.
>
> hs

Read:
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.reposadmin.main
t.backup

You probably want to hotcopy to a backup repo and put that on the CD.

This would be a good time to peruse the svn book
http://svnbook.red-bean.com/
It's a good read and chock-full of subversion-y goodness! :)

HTH

Will Appleton

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 30 18:34:55 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.