cvmfs/catalog_rw.cc
void WritableCatalog::SetPreviousRevision(const hash::Any &hash) {
  const string sql = "INSERT OR REPLACE INTO properties "
    "(key, value) VALUES ('previous_revision', '" + hash.ToString() + "');";
  bool retval = Sql(database(), sql).Execute();
  assert(retval);
}
/**
 * Sets the content hash of the previous catalog revision.
 * @return true on success, false otherwise
 */
Sets the content hash of the previous catalog revision.
@return true on success, false otherwise
Sets the content hash of the previous catalog revision . @return true on success false otherwise
void WritableCatalog::SetPreviousRevision(const hash::Any &hash) {
  const string sql = "INSERT OR REPLACE INTO properties "
    "(key, value) VALUES ('previous_revision', '" + hash.ToString() + "');";
  bool retval = Sql(database(), sql).Execute();
  assert(retval);
}
void WritableCatalog :: SetPreviousRevision ( const hash :: Any & hash ) { const string sql = " " " " + hash . ToString ( ) + " " ; bool retval = Sql ( database ( ) , sql ) . Execute ( ) ; assert ( retval ) ; }
Sets the content hash of the previous catalog revision.
Sets the content hash of the previous catalog revision .