logo       

Pushing to a newly mirrored repository.: msg#00040

version-control.svk.devel

Subject: Pushing to a newly mirrored repository.

So I've been a happy SVK user for a while now, and short of native
TortoiseSVN support, I'm a happy camper, and a vocal proponent. I've
gotten fairly good at use SVK on my webservers for server configs and
the like. The following seems fairly standard

svk mirror svn://localhost/websites //mirror-localhost/websites
svk cp //mirror-localhost/websites/webdir //websites/webdir
svk co //websites/webdir
svk up -sm
svk sm //websites/webdir //mirror-localhost/websites/webdir

Great. Works beautiful on 6 or 7 of my hosts, a few vmware boxes all
pointing back to my main repository. Now what I can't figure out how
to do is this:

svk mkdir //projects/project
make files in "project"
svk ci

svn mkdir svn://localhost/projects
svk mirror svn://localhost/projects //mirror-localhost/projects

How to I put //projects/project to //mirror-localhost/projects?

An svk cp fails with an error "Different sources".

Every example I could find assumes that the mirror is mirrored and
then a branch is made. What if I want to start a new project and push
this? My svn connection isn't available 24 hours or on my laptop, for
example, so if I want to start a new project, I'd like to be able to
push it to the remote server.

I guess I *COULD* do:

<after mirroring>
svn mkdir svn://localhost/projects/project
svk cp //mirror-localhost/projects //proj-mirror
svk cp //projects/project //proj-mirror
svk sm //proj-mirror/project //mirror-localhost/projects/project

Then checkout the new branch.

Seems like a whole lot of extra trouble/repository pollution for a
simple push operation, no? I'm confused, and the help doesn't seem to
address this scenario, only local repository work that isn't pushed to
remote svn servers.

Anyhow, good day, and my thanks in advance!

-Chris Kaminski



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise