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

Re: svn commit: r25430 - in trunk/subversion: include include/private libsvn_fs_fs mod_dav_svn tests/libsvn_fs

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-06-21 23:42:51 CEST

Daniel Rall wrote:
> On Tue, 19 Jun 2007, Blair Zajac wrote:
>
>> On Jun 19, 2007, at 2:12 AM, Ph. Marek wrote:
>>
>>> On Dienstag, 19. Juni 2007, Malcolm Rowe wrote:
>>>> On Fri, Jun 15, 2007 at 04:53:45PM -0700, blair@tigris.org wrote:
>>>>> Create a transaction directory with the form
>>>>> "<txndir>/<hostname>-<pid>-<time>-<uniquifier>.txn". This
>>>>> removes the transaction's base revision number from the
>>>>> directory name.
>>>> Just wondering - is <hostname> guaranteed to be made up of [a-zA-
>>>> Z_.]*?
>>>> (If not, we'll generate an invalid transaction name.)
>>> Depends where you get the hostname from ... if it's via DNS, it may
>>> have eg.
>>> a "-" in it - which could make problems.
>> Actually, _ is not a legal character for a transaction name, but - is.
>
> Hostname could also have 0-9 in it. But I assume those are legal
> characters for a transaction name.

Yes, from svn_fs.h:

  * Transaction names are guaranteed to contain only letters (upper-
  * and lower-case), digits, `-', and `.', from the ASCII character
  * set.

Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 21 23:42:55 2007

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.