---
name: "VCP::RevMapDB"
section: "3pm"
platform: "linux"
package: "libvcp-perl"
version: "0.9-20050110-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/VCP::RevMapDB"
---

# VCP::RevMapDB(3pm)

Persistant storage for id -\> (name, rev\_id) maps

## NAME

VCP::RevMapDB - Persistant storage for id -\> (name, rev\_id) maps

## SYNOPSIS

```
    use base qw( VCP::RevMapDB );
```

## DESCRIPTION

By default, most VCP::Dest::\* drivers keep track of the relationship between the id field assigned by the (original) VCP::Source::\* driver and the final name and rev\_id (or whatever fields are important to it) in the destination repository so that the previous\_id fields, which refer to the original id, may be resolved when backfilling or branching.

The VCP::\*::revml drivers do not do this; they do not need to resolve id fields.

The intent for this file is to serve as a base class so that individual sites may write their own RevMapDB plugins to, for instance, store this state in a RDBMS table.  This is not quite offered at this time; we need to add an option to the appropriate VCP::Dest::\* modules to allow the appropriate RevMapDB file to be loaded.

To write your own RevMapDB file, see VCP::RevMapDB::sdbm.

## AUTHOR

Barrie Slaymaker \<barries@slaysys.com\>

## COPYRIGHT

Copyright (c) 2000, 2001, 2002 Perforce Software, Inc. All rights reserved.

See VCP::License (`"vcp help license"`) for the terms of use.
