1090 |
goto out; |
goto out; |
1091 |
} |
} |
1092 |
|
|
|
if (!pipeout) |
|
|
{ |
|
|
int i; |
|
|
List *entries; |
|
|
|
|
|
/* we are only doing files, so register them */ |
|
|
entries = Entries_Open (0, NULL); |
|
|
for (i = 1; i < argc; i++) |
|
|
{ |
|
|
char *line; |
|
|
Vers_TS *vers; |
|
|
struct file_info finfo; |
|
|
|
|
|
memset (&finfo, 0, sizeof finfo); |
|
|
finfo.file = argv[i]; |
|
|
/* Shouldn't be used, so set to arbitrary value. */ |
|
|
finfo.update_dir = NULL; |
|
|
finfo.fullname = argv[i]; |
|
|
finfo.repository = repository; |
|
|
finfo.entries = entries; |
|
|
/* The rcs slot is needed to get the options from the RCS |
|
|
file */ |
|
|
finfo.rcs = RCS_parse (finfo.file, repository); |
|
|
|
|
|
vers = Version_TS (&finfo, options, tag, date, |
|
|
force_tag_match, 0); |
|
|
if (vers->ts_user == NULL) |
|
|
{ |
|
|
line = Xasprintf ("Initial %s", finfo.file); |
|
|
Register (entries, finfo.file, |
|
|
vers->vn_rcs ? vers->vn_rcs : "0", |
|
|
line, vers->options, vers->tag, |
|
|
vers->date, NULL); |
|
|
free (line); |
|
|
} |
|
|
freevers_ts (&vers); |
|
|
freercsnode (&finfo.rcs); |
|
|
} |
|
|
|
|
|
Entries_Close (entries); |
|
|
} |
|
|
|
|
1093 |
/* Don't log "export", just regular "checkouts" */ |
/* Don't log "export", just regular "checkouts" */ |
1094 |
if (m_type == CHECKOUT && !pipeout) |
if (m_type == CHECKOUT && !pipeout) |
1095 |
history_write ('O', preload_update_dir, history_name, where, |
history_write ('O', preload_update_dir, history_name, where, |