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

Re: Serious usability problem that causes lost data: moving subdirectories

From: Dybdahl <ldybdahl_at_gmail.com>
Date: Wed, 6 Aug 2008 11:13:38 -0700 (PDT)

What about a function like this:

color getfoldercolor (folder a) {
  folder parent=a+'\..';
  path remotepatha=GetRemotePath(a);
  path remotepathparent=GetRemotePath(parent);
  if (IsParentPath(remotepathparent,remotepatha)) return warning;
  else return AllOK;
}

GetRemotePath() must already exist, because TortoiseSVN can show that
information. IsParentPath() is simple to implement in a few lines.

Lars.

On Aug 5, 10:17 pm, "Ron Wilson" <ronw.m..._at_gmail.com> wrote:
> On Tue, Aug 5, 2008 at 8:55 AM, Dybdahl <ldybd..._at_gmail.com> wrote:
> > It would be a great feature, if TortoiseSVN could show warnings, when
> > an SVN-controlled subdirectory is not in its "intended" place.
>
> Unfortunately, this would require a change to the SVN libraries in the
> SVN project. What you are asking would require that SVN keep a copy of
> the folder path in the meta-data for each folder. This is not in
> there.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-06 20:17:03 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

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