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

What revision should an added not yet commited node have?

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Tue, 16 Mar 2010 21:01:28 +0100

Hi!

When trying to replace entries in the status code I got a couple of test
failures saying that the revision should be 0 for newly added nodes.
Greg pointed out that the entries code set the revision to 0 for those
cases while the revision returned from _read_info() sets it to -1.

Should we continue to use the 0 value? Is it well established as the
revision number of version controlled, not yet committed files or should
we tell 'svn info' and 'svn status' to not output any rev nr at all for
these nodes?

Thoughts?

Daniel
Received on 2010-03-16 21:02:05 CET

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