244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
|
#
# Create and open a new Fossil repository and clean the checkout
#
proc repo_init {{filename ".rep.fossil"}} {
set_home_to_elsewhere
set ::tempRepoPath [file join \
$tempPath repo_[pid] [string trim [clock seconds] -] \
[file tail [get_script_or_fail]]]
if {[catch {
file mkdir $::tempRepoPath
} error] != 0} {
error "could not make directory \"$::tempRepoPath\",\
please set TEMP variable in environment: $error"
}
|
|
|
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
|
#
# Create and open a new Fossil repository and clean the checkout
#
proc repo_init {{filename ".rep.fossil"}} {
set_home_to_elsewhere
set ::tempRepoPath [file join \
$::tempPath repo_[pid] [string trim [clock seconds] -] \
[file tail [get_script_or_fail]]]
if {[catch {
file mkdir $::tempRepoPath
} error] != 0} {
error "could not make directory \"$::tempRepoPath\",\
please set TEMP variable in environment: $error"
}
|