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

Re: buddy for two externals issues? -- was: Re: locking externals

From: Mark Phippard <markphip_at_gmail.com>
Date: Sat, 11 Apr 2009 12:18:44 -0400

On Fri, Apr 10, 2009 at 6:48 PM, Neels Janosch Hofmeyr <neels_at_elego.de> wrote:
> Neels Janosch Hofmeyr wrote:
>> Right, if no-one speaks up this time, I'll make two new issues.
> Buddy system!
>
> Does anyone agree that these two are good to be issues?
>
> #1 externals with a fixed revision aren't locked for commit as long as
>   that fixed revision coincides with HEAD.
>
> #2 when a file-external with a fixed revision is modified, the next
>   update causes a conflict with the (unrelated) HEAD revision.
>
> I am attaching a shell script that makes both of them happen, for both file-
> and directory externals.

I agree these would be good changes. I suspect they will be difficult
to implement. AFAIK, svn does not always even know you are working in
an external. Especially when we are talking about folders. For
example, if you run commands like svn st from your project root, then
it knows that those folders and items are externals. But if you run
the command from a folder down within the external, it no longer knows
this. The only way the command line will commit externals is to do
this. So you'd have to ask the command line code to always walk the
tree to the root of the WC so that it could then discover if an item
is an external. That seems like a risky change for a small benefit.

Ideally, and perhaps the new WC will allow this?, the WC would just
know that these items are externals and could handle them differently.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1651557
Received on 2009-04-11 18:19:08 CEST

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.