To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=60709
------- Additional comments from [EMAIL PROTECTED] Wed Jan 18 07:14:55 -0800
2006 -------
@cloph: That's right, but cwscreate (which was written before CwsConfig) does
not make use of it. A bug of course, I'll fix it.
The bug is in register_workspace()
sub register_workspace
{
# register child workspace with eis
my $cws = shift;
my $milestone = $cws->milestone();
my $child = $cws->child();
my $master = $cws->master();
# collect some misc. information
my $hostname = hostname();
my $dir = $opt_dir ? $opt_dir : cwd();
my $abspath = File::Spec->rel2abs("$dir/$child");
my $vcsid = $ENV{VCSID};
if ( $is_promotion ) {
my $rc = $cws->promote($vcsid, "$hostname:$abspath");
if ( !$rc ) {
print_error("Failed to promote child workspace '$child' to status
'new'.\n", 5);
}
else {
print "\n***** Successfully ***** promoted child workspace '$child'
to status 'new'.\n";
print "Milestone: '$milestone'.\n";
return 1;
}
}
else {
my $eis_id = $cws->register($vcsid, "$hostname:$abspath");
if ( !defined($eis_id) ) {
print_error("Failed to register child workspace '$child' for master
'$master'.", 5);
}
else {
print "\n***** Successfully ***** registered child workspace
'$child'\n";
print "for master workspace '$master' (milestone '$milestone').\n";
print "Child workspace Id: $eis_id.\n";
return 1;
}
}
return 0;
}
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]