-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
î:ïNc @@ s› d Z d d l m Z d d l m Z e e ƒ d ƒ d d l m Z e j d ƒ Z e j d ƒ Z
d a d a
d „ Z d „ Z d
„ Z d d „ Z d S(
s0 Common code for generating file or revision ids.i ( t absolute_import( t lazy_importsN
import time
from bzrlib import (
config,
errors,
osutils,
)
( t
lazy_regexs [^\w.]s [^-\w.+@]c C@ sO t d k r7 d t j t j ƒ ƒ t j d ƒ f a n t d 7a t t t ƒ S( s Create a new file id suffix that is reasonably unique.
On the first call we combine the current time with 64 bits of randomness to
give a highly probably globally unique number. Then each call in the same
process adds 1 to a serial number we append to that unique value.
s -%s-%s-i i N( t _gen_file_id_suffixt Nonet osutilst compact_datet timet
rand_charst _gen_file_id_serialt str( ( ( s7 /usr/lib/python2.7/dist-packages/bzrlib/generate_ids.pyt _next_id_suffix, s
c C@ s<