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

Re: No no-op changes

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 22 Sep 2014 18:18:05 +0100

Julian Foad <julianfoad_at_btopenworld.com> writes:

>> The diff reports have
>> no equivalent of log's text-mods/props-mods but they do communicate that
>> a new node was created.  The diff client could choose to output some
>> sort of "new node" message.
>
> (I assume you mean "new node-revision".)

More that the client could report some sort of "new version of file"
message.

> You have observed this
> correlation between new node-revs and editor method calls in the
> current typical Subversion software configuration. The client should
> not assume that an "open-dir" or "open-file" editor method call means
> a new node-revision in the file system. Node-revisions are meant to be
> a private implementation detail of the repos or FS layers.

The RA layer is public API. At present the RA layer invokes open_file
in the client's delta editor when there is a no-op text change so this
is a visible to the client. Our client chooses not to report this to
the user but other clients might choose differently. It's not entirely
clear what the client can assume about an open_file that is not followed
by either apply_textdelta or change_file_prop but it would not be
unreasonable for a client to report that it received open_file.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-09-22 19:18:37 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.