Ignore:
Timestamp:
Apr 23, 2008, 2:43:10 AM (13 years ago)
Author:
Peter Johansson
Message:

Made version string (in parenthesis) a function that is called from footer and function creating --version output. PP Macro TIME and DATE were moved to subversion_info.cc. For details about why see comment in subversion_info.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/subversion_info.h

    r569 r620  
    3030namespace svndigest{
    3131
     32  // This functions are (mis)placed here to reflect compilation time
     33  // of subversion_info.cc. Previously, __TIME__ macro was placed in
     34  // `bin/Parameter.cc' and since the Parameter is almost independent
     35  // of other parts of the package, that compilation time does not
     36  // very accurately reflect the building time of the svndigest
     37  // binary. subversion_info.cc is at least modified when updating
     38  // against repository and therefore these functions will return a
     39  // time no earlier than last `svn update'
     40  std::string compilation_date(void);
     41  std::string compilation_time(void);
     42
    3243  std::string svn_revision(void);
    3344
Note: See TracChangeset for help on using the changeset viewer.