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

UI needs some data questions

From: Bill Tutt <billtut_at_microsoft.com>
Date: 2000-12-21 17:44:49 CET

Given that SVN doesn't support a working directory model (like VSS), or a
client view mapping like Perforce (and possibly others), the exploring left
hand pane of a UI client is going to have to browse the normal file system,
and try and provide enough helpful user interface to deal with that fact.

While thinking about this, I came up with some questions that the UI needs
to ask either the libsvn_client, or libsvn_wc bits.

What is the Working Copy Rev# of file A?
What is the Last Modified Date of the Working Copy Rev# we have for file A?

Answering these two questions lets us determine "Has this been touched",
which in turn lets us do something pretty in the file list part of the UI.

One more additional question:
Does this directory have valid SVN meta-data?

This allows us to differentiate between folders in the file system that are
Working Copy directories, and those that are normal file system directories
in the UI. Which is fairly important given my first statement.

Received on Sat Oct 21 14:36:17 2006

This is an archived mail posted to the Subversion Dev mailing list.