[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] vc-find-root with invert

From: Justin Bogner
Subject: Re: [patch] vc-find-root with invert
Date: Mon, 21 Jul 2008 16:23:54 -0600
User-agent: Thunderbird (X11/20080505)

David Kastrup wrote:
Justin Bogner <address@hidden> writes:
However, for the other case, we need traverse upwards until we don't
find the directory, returning the last one that does.

Why?  CVS or SVN do not do this either.  Subdirectories with .svn in
them are self-contained work directories with associated repository

As far as getting rid of invert, we could do that, and the function
would then return something more reasonable than it does now, but it
wouldn't actually find the root unless you happened to try the root

There is no dedicated root in CVS or SVN.  You never need to look at
.. in order to do local operations.  You can move your directory out to
a different location under a different "root" and things will work just
the same from there.

Which is pretty much the principal reason for every directory having its
own CVS or .svn subdirectories.

Is this still true if you need to do nonlocal operations? If so then this is
indeed a misfeature.

ps: sent to David and forgot to CC emacs-devel, sorry.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]