You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Romain Prévost <pr...@gmail.com> on 2005/07/15 10:01:20 UTC
Copy and overwrite inside a repos
Hi,
I've got /repos/project1/file1 and /repos/project2/file1 (which is a
copy of a binary).
I've updated the project1/file1, and I would like to propagate this to
project2, in one operation,
like a svn copy -force /repos/project1/file1 /repos/project2/file1 but
I can't figure out how to do this without deleting the file first. Can
someone help me ?
I'm still looking for a way to have kind of symbolic links into my
subversion repos. If someone come up to an efficient solution .... I
think I will lose myself into hook scripts and properties.
--
Romain Prévost
Epitech promotion 2007
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Copy and overwrite inside a repos
Posted by Joshua Varner <jl...@gmail.com>.
On 7/15/05, Romain Prévost <pr...@gmail.com> wrote:
> That's what I thought. I was trying to do this without a working copy.
> Thanks anyway for confirmation.
>
Take a look at svnput in contrib. It will overwrite a file in the
repository like you want without needing a working copy.
You might also try svn:externals. It only works on folders, but since
you are operating on two seperate repositories it might be the best
way.
Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Copy and overwrite inside a repos
Posted by Romain Prévost <pr...@gmail.com>.
That's what I thought. I was trying to do this without a working copy.
Thanks anyway for confirmation.
--
Romain Prévost
Epitech promotion 2007
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Copy and overwrite inside a repos
Posted by Ben Collins-Sussman <su...@collab.net>.
On Jul 15, 2005, at 5:01 AM, Romain Prévost wrote:
> Hi,
>
> I've got /repos/project1/file1 and /repos/project2/file1 (which is a
> copy of a binary).
> I've updated the project1/file1, and I would like to propagate this to
> project2, in one operation,
> like a svn copy -force /repos/project1/file1 /repos/project2/file1 but
> I can't figure out how to do this without deleting the file first. Can
> someone help me ?
"svn copy" will not overwrite. You need to 'svn merge' whatever
changeset modified /project1/file1 over to the /project2 area.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org