Heh, oh sure, tempt we with the data, and then don't tell me which
functions give me the data.... :)
Do we have the "IsValidSVNDirectory()" function yet?
From: Karl Fogel [mailto:firstname.lastname@example.org]
Sent: Thursday, December 21, 2000 6:34 AM
To: Bill Tutt
Subject: Re: UI needs some data questions
Bill Tutt <email@example.com> writes:
> While thinking about this, I came up with some questions that the UI
> 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
This information is stored, yup. And there are (or will be)
interfaces to retrieve it -- you don't have to parse SVN/ metadata
> Answering these two questions lets us determine "Has this been
> which in turn lets us do something pretty in the file list part of the
Also recorded (via timestamp, and possibly later checksum).
> One more additional question:
> Does this directory have valid SVN meta-data?
Yup. The presence of an SVN/ subdir is not the only qualification --
actually, the spec is that once SVN/README is written, then we have a
valid working copy dir. So when creating new wc dirs, we make sure
that SVN/README is the last thing created in SVN/. :-)
Of course, again, you don't have to know this, you just have to use
the right function to ask the question.
> This allows us to differentiate between folders in the file system
> Working Copy directories, and those that are normal file system
> in the UI. Which is fairly important given my first statement.
Received on Sat Oct 21 14:36:18 2006