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

Re: not under version control

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: Thu, 21 Feb 2008 10:26:01 +0100

On Wednesday 20 February 2008, Mitch Claborn wrote:
> svn, version 1.4.2 (r22196)
> compiled Nov 10 2006, 17:39:50
>
> Here's the command that is bothering me:
> svn merge
>
file:///home/subversion/repos/survey/branches/T04405c/web/admin/CookieList.jsp_at_HEAD
> file:///home/subversion/repos/survey/trunk/web/admin/CookieList.jsp_at_HEAD
> ./web/admin/CookieList.jsp
>
> the result is:
> svn: Use --force to override this restriction
> svn: 'web/admin/CookieList.jsp' is not under version control
>
> branches/T04405c is a branch from the trunk.
> CookieList.jsp is a new file in the trunk that I want to merge into the
> branch.
> the working directory for the above command is the working directory for
> the branch.
>
> Why won't it merge? I've tried the --force option but it doesn't
> appear to make any difference.
>
> The same format of command works for updates, but fails on new files.
>
> I must be missing something obvious.

Yes: you don't want to merge but copy :-) You can only merge existing files,
AFAIK. So you'd just do:

cd working_copy/web/admin
svn cp file:///home/subversion/repos/survey/trunk/web/admin/CookieList.jsp .

HTH,
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-21 10:26:32 CET

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.