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

Re: Is it possible to overwrite a file with a copy of something else in a single commit?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-11-08 00:57:37 CET

Aleksey Nogin <aleksey@nogin.org> writes:

> % svn rm b
> D b
>
> % svn cp a b
> svn: 'b' is scheduled for deletion; it must be committed before being
> overwritten
>
> So to reiterate, is there some way to replace b with a copy of a w/o a
> bogus intermediate commit?

Use the trunk :)

$ svn rm wc/foo
D wc/foo
$ svn cp wc/bar wc/foo
A wc/foo
$ svn st wc
R + wc/foo

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 8 00:58:26 2005

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

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