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

exporting an uncommited file and keywords

From: Ben Reser <ben_at_reser.org>
Date: 2004-02-16 10:40:28 CET

Exporting an uncommited file gives some confusing and undocumented
keyword handling:
$Id: foo -1M 2004-02-16 09:18:31Z (local) $

The -1 makes perfect sense to us developers but is confusing to a user
who doesn't know that means an unknown or invalid revision number.

Also the (local) is bad, following the time it makes it look like the
timezone is localtime if you don't look closely.

I think the following output would be better:
$Id: foo M 2004-02-16 09:18:31Z (unknown) $

or possibly:

$Id: foo U 2004-02-16 09:18:31Z (unknown) $

The U meaning Unknown or Uncommitted... We can drop the M because it's
redundent if it's not been committed.

Or perhaps:

$Id: foo U 2004-02-16 09:18:31Z $

Which is consistent with our efforts not to make up usernames that don't
exist for svnadmin.

Thoughts? Whatever we decide I'll be happy to make a patch. I'll also
patch the book to document the format (unless someone else wants to
do that).

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 16 10:40:58 2004

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.