windows clearcase plugin native mode multiple checkin runtime env variable

OK, sorry i should not submit this to tracker. Just post here hopefully the plugin developer will have a chance to take a look.

For both native mode, please add 2 runtime envrionment variable when checkin happens (especially for multiple checkins under ctrl+k "Commit Project").

The names for these 2 variables are : CLEARCASE_BEGIN_SERIES and CLEARCASE_END_SERIES

The working logic :
if ($CLEARCASE_BEGIN_SERIES== 1 && $CLEARCASE_END_SERIES== 0) {
#######################################

We are at the beginning of a series of multiple checkins
#######################################
}
elsif ($CLEARCASE_BEGIN_SERIES== 0 && $CLEARCASE_END_SERIES== 0) {

We are in the middle of a series of multiple checkins
#######################################
}
elsif ($CLEARCASE_BEGIN_SERIES== 0 && $CLEARCASE_END_SERIES== 1) {

We are at the end of a series of multiple checkins
#######################################
}
elsif ($CLEARCASE_BEGIN_SERIES== 1 && $CLEARCASE_END_SERIES== 1) {

We are in a single file/dir checkin
#######################################
}

Please sign in to leave a comment.