[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Command rd

NAME

Command rd :: Ref Duplicate

SYNOPSIS

rd OriginalRefName DuplicatedRefName

DESCRIPTION

The rc function is used to duplicate a ref. A new ref is added by copying another. Tasks, jobs, conditions, task dependencies, job dependencies and rules are copied. The parameters are the name of the original ref and the name of the new ref.

EXAMPLE

In this example, a referential named `myref_v1' is created with three tasks `mytask1', `mytask2' and `mytask3'. Then, rd is use to duplicate the referential. A new referential `myref_v2' is created by copying `myref_v1'. rtl is used to verify that three tasks are automaticaly created in the new referential.

 
$ dio87d -d
$ dio87c ra myref_v1
$ dio87c rta myref_v1 mytask1
$ dio87c rta myref_v1 mytask2
$ dio87c rta myref_v1 mytask3
$ dio87c rtl myref_v1
mytask1
mytask2
mytask3
$ dio87c rd myref_v1 myref_v2
$ dio87c rtl myref_v2
mytask1
mytask2
mytask3
$

ACCESS CONTROL

This function requires the `admin' privilege for the `referential' command family.

SEE ALSO



This document was generated by dom on September, 11 2005 using texi2html