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

update_editor.c:close_edit setting "un-incomplete"

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 14 Sep 2011 15:15:17 +0100

Looking a issue 3993, a serf/googlecode oddity
leads me to this code in libsvn_wc/update_editor.c:close_edit

  /* The editor didn't even open the root; we have to take care of
     some cleanup stuffs. */
  if (! eb->root_opened
      && *eb->target_basename == '\0')
      /* We need to "un-incomplete" the root directory. */

That's WCNG code, but the concept has been present since 1.0. The
"un-incomplete" state is presence=normal in WCNG terms.

Why do we do that? If we don't call open_root and the directory is
incomplete then it must have been incomplete before the update started.
Is it correct for a drive that doesn't call open_root to change such a
directory to normal? I think leaving the directory incomplete is the
correct action.

uberSVN: Apache Subversion Made Easy
Received on 2011-09-14 16:15:54 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.