🌐 AI搜索 & 代理 主页
blob: b78524767c0a3fd8ce99412e1d0b92a9a9ba26fb [file] [log] [blame]
Linus Torvalds3f571e02005-06-23 01:49:431#!/bin/sh
Junio C Hamanoe95ab1e2005-07-06 20:04:212#
3# Copyright (c) 2005, Linus Torvalds
4# Copyright (c) 2005, Junio C Hamano
5#
6# Clone a repository into a different directory that does not yet exist.
7
Junio C Hamano365527a2005-09-13 02:47:078# See git-sh-setup why.
9unset CDPATH
10
Junio C Hamanoe95ab1e2005-07-06 20:04:2111usage() {
Yasushi SHOJI98a4fef2006-03-30 17:00:4312 echo >&2 "Usage: $0 [--use-separate-remote] [--reference <reference-repo>] [--bare] [-l [-s]] [-q] [-u <upload-pack>] [--origin <name>] [-n] <repo> [<dir>]"
Junio C Hamanoe95ab1e2005-07-06 20:04:2113 exit 1
14}
15
Linus Torvaldsba375ac2005-07-08 22:46:3316get_repo_base() {
17 (cd "$1" && (cd .git ; pwd)) 2> /dev/null
18}
19
Junio C Hamano0516de32005-09-05 07:47:3920if [ -n "$GIT_SSL_NO_VERIFY" ]; then
21 curl_extra_args="-k"
22fi
23
24http_fetch () {
25 # $1 = Remote, $2 = Local
Josef Weidendorfer66c9ec22005-11-10 13:12:1926 curl -nsfL $curl_extra_args "$1" >"$2"
Junio C Hamano0516de32005-09-05 07:47:3927}
28
29clone_dumb_http () {
30 # $1 - remote, $2 - local
31 cd "$2" &&
32 clone_tmp='.git/clone-tmp' &&
33 mkdir -p "$clone_tmp" || exit 1
Junio C Hamano05621102005-12-23 00:01:4634 http_fetch "$1/info/refs" "$clone_tmp/refs" || {
Junio C Hamano0516de32005-09-05 07:47:3935 echo >&2 "Cannot get remote repository information.
36Perhaps git-update-server-info needs to be run there?"
37 exit 1;
38 }
Junio C Hamano0516de32005-09-05 07:47:3939 while read sha1 refname
40 do
Mark Woodingf327dbc2006-04-13 22:01:2441 name=`expr "z$refname" : 'zrefs/\(.*\)'` &&
Junio C Hamanocdb39502005-10-18 04:47:0642 case "$name" in
Junio C Hamanodfeff662006-03-20 08:21:1043 *^*) continue;;
Junio C Hamanocdb39502005-10-18 04:47:0644 esac
Junio C Hamanodfeff662006-03-20 08:21:1045 if test -n "$use_separate_remote" &&
Mark Woodingf327dbc2006-04-13 22:01:2446 branch_name=`expr "z$name" : 'zheads/\(.*\)'`
Junio C Hamanodfeff662006-03-20 08:21:1047 then
Junio C Hamano5ceb05f2006-03-21 09:58:2648 tname="remotes/$origin/$branch_name"
Junio C Hamanodfeff662006-03-20 08:21:1049 else
50 tname=$name
51 fi
52 git-http-fetch -v -a -w "$tname" "$name" "$1/" || exit 1
Junio C Hamano0516de32005-09-05 07:47:3953 done <"$clone_tmp/refs"
54 rm -fr "$clone_tmp"
Junio C Hamanoc72112e2006-04-02 23:25:0155 http_fetch "$1/HEAD" "$GIT_DIR/REMOTE_HEAD" ||
56 rm -f "$GIT_DIR/REMOTE_HEAD"
Junio C Hamano0516de32005-09-05 07:47:3957}
58
Junio C Hamanodfeff662006-03-20 08:21:1059# Read git-fetch-pack -k output and store the remote branches.
60copy_refs='
61use File::Path qw(mkpath);
62use File::Basename qw(dirname);
63my $git_dir = $ARGV[0];
64my $use_separate_remote = $ARGV[1];
Junio C Hamano47874d62006-03-21 08:14:1365my $origin = $ARGV[2];
Junio C Hamanodfeff662006-03-20 08:21:1066
Junio C Hamano47874d62006-03-21 08:14:1367my $branch_top = ($use_separate_remote ? "remotes/$origin" : "heads");
Junio C Hamanodfeff662006-03-20 08:21:1068my $tag_top = "tags";
69
70sub store {
71 my ($sha1, $name, $top) = @_;
72 $name = "$git_dir/refs/$top/$name";
73 mkpath(dirname($name));
74 open O, ">", "$name";
75 print O "$sha1\n";
76 close O;
77}
78
79open FH, "<", "$git_dir/CLONE_HEAD";
80while (<FH>) {
81 my ($sha1, $name) = /^([0-9a-f]{40})\s(.*)$/;
82 next if ($name =~ /\^\173/);
83 if ($name eq "HEAD") {
84 open O, ">", "$git_dir/REMOTE_HEAD";
85 print O "$sha1\n";
86 close O;
87 next;
88 }
89 if ($name =~ s/^refs\/heads\///) {
90 store($sha1, $name, $branch_top);
91 next;
92 }
93 if ($name =~ s/^refs\/tags\///) {
94 store($sha1, $name, $tag_top);
95 next;
96 }
97}
98close FH;
99'
100
Linus Torvalds167a4a32005-07-09 17:52:35101quiet=
Yasushi SHOJIef5b4ea2006-03-30 17:01:23102local=no
Junio C Hamanoe95ab1e2005-07-06 20:04:21103use_local=no
Junio C Hamanoaae4f422005-08-15 00:25:57104local_shared=no
Junio C Hamano036a72d2005-09-27 00:17:09105no_checkout=
Junio C Hamano6ec311d2005-07-14 03:25:54106upload_pack=
Junio C Hamano87e80c42006-01-23 01:24:22107bare=
Junio C Hamanodfeff662006-03-20 08:21:10108reference=
109origin=
Junio C Hamanoe6489a12006-01-23 01:28:49110origin_override=
Junio C Hamanodfeff662006-03-20 08:21:10111use_separate_remote=
Junio C Hamanoe95ab1e2005-07-06 20:04:21112while
113 case "$#,$1" in
114 0,*) break ;;
Junio C Hamano8a1a1202006-01-15 00:00:32115 *,-n|*,--no|*,--no-|*,--no-c|*,--no-ch|*,--no-che|*,--no-chec|\
116 *,--no-check|*,--no-checko|*,--no-checkou|*,--no-checkout)
117 no_checkout=yes ;;
Junio C Hamano87e80c42006-01-23 01:24:22118 *,--na|*,--nak|*,--nake|*,--naked|\
119 *,-b|*,--b|*,--ba|*,--bar|*,--bare) bare=yes ;;
Junio C Hamano1cadb5a2005-07-23 02:11:22120 *,-l|*,--l|*,--lo|*,--loc|*,--loca|*,--local) use_local=yes ;;
Junio C Hamanoaae4f422005-08-15 00:25:57121 *,-s|*,--s|*,--sh|*,--sha|*,--shar|*,--share|*,--shared)
Pavel Roskin2c4ed382005-11-29 06:20:49122 local_shared=yes; use_local=yes ;;
Linus Torvalds167a4a32005-07-09 17:52:35123 *,-q|*,--quiet) quiet=-q ;;
Junio C Hamanodfeff662006-03-20 08:21:10124 *,--use-separate-remote)
125 use_separate_remote=t ;;
Junio C Hamanodfeff662006-03-20 08:21:10126 1,--reference) usage ;;
127 *,--reference)
128 shift; reference="$1" ;;
129 *,--reference=*)
130 reference=`expr "$1" : '--reference=\(.*\)'` ;;
Yasushi SHOJI98a4fef2006-03-30 17:00:43131 *,-o|*,--or|*,--ori|*,--orig|*,--origi|*,--origin)
Junio C Hamano47874d62006-03-21 08:14:13132 case "$2" in
Yasushi SHOJI98a4fef2006-03-30 17:00:43133 '')
134 usage ;;
Junio C Hamano47874d62006-03-21 08:14:13135 */*)
136 echo >&2 "'$2' is not suitable for an origin name"
137 exit 1
138 esac
139 git-check-ref-format "heads/$2" || {
Johannes Schindeline6c310f2005-12-22 22:37:24140 echo >&2 "'$2' is not suitable for a branch name"
141 exit 1
142 }
Junio C Hamanoe6489a12006-01-23 01:28:49143 test -z "$origin_override" || {
Yasushi SHOJI98a4fef2006-03-30 17:00:43144 echo >&2 "Do not give more than one --origin options."
Junio C Hamanoe6489a12006-01-23 01:28:49145 exit 1
146 }
147 origin_override=yes
Johannes Schindeline6c310f2005-12-22 22:37:24148 origin="$2"; shift
149 ;;
Junio C Hamano1cadb5a2005-07-23 02:11:22150 1,-u|1,--upload-pack) usage ;;
Junio C Hamano6ec311d2005-07-14 03:25:54151 *,-u|*,--upload-pack)
152 shift
Junio C Hamano1cadb5a2005-07-23 02:11:22153 upload_pack="--exec=$1" ;;
Junio C Hamanoe95ab1e2005-07-06 20:04:21154 *,-*) usage ;;
155 *) break ;;
156 esac
157do
158 shift
159done
160
Yasushi SHOJIef5b4ea2006-03-30 17:01:23161repo="$1"
162if test -z "$repo"
163then
164 echo >&2 'you must specify a repository to clone.'
165 exit 1
166fi
167
Junio C Hamano87e80c42006-01-23 01:24:22168# --bare implies --no-checkout
Junio C Hamanoe6489a12006-01-23 01:28:49169if test yes = "$bare"
170then
171 if test yes = "$origin_override"
172 then
Yasushi SHOJI98a4fef2006-03-30 17:00:43173 echo >&2 '--bare and --origin $origin options are incompatible.'
Junio C Hamanoe6489a12006-01-23 01:28:49174 exit 1
175 fi
Junio C Hamanodfeff662006-03-20 08:21:10176 if test t = "$use_separate_remote"
177 then
178 echo >&2 '--bare and --use-separate-remote options are incompatible.'
179 exit 1
180 fi
Junio C Hamanoe6489a12006-01-23 01:28:49181 no_checkout=yes
182fi
Junio C Hamano8a1a1202006-01-15 00:00:32183
Junio C Hamano47874d62006-03-21 08:14:13184if test -z "$origin"
Junio C Hamanodfeff662006-03-20 08:21:10185then
Junio C Hamano47874d62006-03-21 08:14:13186 origin=origin
Junio C Hamanodfeff662006-03-20 08:21:10187fi
188
Linus Torvaldsba375ac2005-07-08 22:46:33189# Turn the source into an absolute path if
190# it is local
Linus Torvaldsba375ac2005-07-08 22:46:33191if base=$(get_repo_base "$repo"); then
192 repo="$base"
193 local=yes
194fi
195
Linus Torvalds3f571e02005-06-23 01:49:43196dir="$2"
Andreas Ericsson0879aa22005-11-10 11:58:08197# Try using "humanish" part of source repo if user didn't specify one
Uwe Zeisbergere7555782006-01-20 06:47:39198[ -z "$dir" ] && dir=$(echo "$repo" | sed -e 's|/$||' -e 's|:*/*\.git$||' -e 's|.*[/:]||g')
Josef Weidendorferb0c698a2005-11-13 14:03:31199[ -e "$dir" ] && echo "$dir already exists." && usage
Andreas Ericsson7f10f7c2005-11-10 11:58:08200mkdir -p "$dir" &&
Junio C Hamano8a1a1202006-01-15 00:00:32201D=$(cd "$dir" && pwd) &&
Alex Riesenedd3ebf2006-02-23 11:25:20202trap 'err=$?; cd ..; rm -r "$D"; exit $err' exit
Junio C Hamano87e80c42006-01-23 01:24:22203case "$bare" in
Junio C Hamano8a1a1202006-01-15 00:00:32204yes) GIT_DIR="$D" ;;
205*) GIT_DIR="$D/.git" ;;
206esac && export GIT_DIR && git-init-db || usage
Junio C Hamano87e80c42006-01-23 01:24:22207case "$bare" in
Junio C Hamano8a1a1202006-01-15 00:00:32208yes)
209 GIT_DIR="$D" ;;
210*)
211 GIT_DIR="$D/.git" ;;
212esac
Junio C Hamanoe95ab1e2005-07-06 20:04:21213
Junio C Hamanodfeff662006-03-20 08:21:10214if test -n "$reference"
215then
216 if test -d "$reference"
217 then
218 if test -d "$reference/.git/objects"
219 then
220 reference="$reference/.git"
221 fi
222 reference=$(cd "$reference" && pwd)
223 echo "$reference/objects" >"$GIT_DIR/objects/info/alternates"
224 (cd "$reference" && tar cf - refs) |
225 (cd "$GIT_DIR/refs" &&
226 mkdir reference-tmp &&
227 cd reference-tmp &&
228 tar xf -)
229 else
230 echo >&2 "$reference: not a local directory." && usage
231 fi
232fi
233
234rm -f "$GIT_DIR/CLONE_HEAD"
235
Junio C Hamanoe95ab1e2005-07-06 20:04:21236# We do local magic only when the user tells us to.
Linus Torvaldsba375ac2005-07-08 22:46:33237case "$local,$use_local" in
238yes,yes)
Junio C Hamanoe95ab1e2005-07-06 20:04:21239 ( cd "$repo/objects" ) || {
Junio C Hamanoab6625e2005-07-11 20:30:54240 echo >&2 "-l flag seen but $repo is not local."
241 exit 1
Junio C Hamanoe95ab1e2005-07-06 20:04:21242 }
243
Junio C Hamanoaae4f422005-08-15 00:25:57244 case "$local_shared" in
245 no)
246 # See if we can hardlink and drop "l" if not.
247 sample_file=$(cd "$repo" && \
248 find objects -type f -print | sed -e 1q)
Junio C Hamanoe95ab1e2005-07-06 20:04:21249
Junio C Hamanoaae4f422005-08-15 00:25:57250 # objects directory should not be empty since we are cloning!
251 test -f "$repo/$sample_file" || exit
Junio C Hamanoe95ab1e2005-07-06 20:04:21252
Junio C Hamanoaae4f422005-08-15 00:25:57253 l=
Junio C Hamano8a1a1202006-01-15 00:00:32254 if ln "$repo/$sample_file" "$GIT_DIR/objects/sample" 2>/dev/null
Junio C Hamanoaae4f422005-08-15 00:25:57255 then
256 l=l
257 fi &&
Junio C Hamano8a1a1202006-01-15 00:00:32258 rm -f "$GIT_DIR/objects/sample" &&
Junio C Hamanoaae4f422005-08-15 00:25:57259 cd "$repo" &&
Johannes Schindelin8e1618f2006-02-17 14:22:45260 find objects -depth -print | cpio -pumd$l "$GIT_DIR/" || exit 1
Junio C Hamanoaae4f422005-08-15 00:25:57261 ;;
262 yes)
Junio C Hamano8a1a1202006-01-15 00:00:32263 mkdir -p "$GIT_DIR/objects/info"
Junio C Hamano0f87f892005-08-17 22:18:41264 {
265 test -f "$repo/objects/info/alternates" &&
266 cat "$repo/objects/info/alternates";
267 echo "$repo/objects"
Martin Waitzcf9dc652006-05-07 18:19:09268 } >>"$GIT_DIR/objects/info/alternates"
Junio C Hamanoaae4f422005-08-15 00:25:57269 ;;
270 esac
Junio C Hamanodfeff662006-03-20 08:21:10271 git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD"
Linus Torvalds7558ef82005-07-09 00:07:12272 ;;
273*)
Junio C Hamano1cadb5a2005-07-23 02:11:22274 case "$repo" in
275 rsync://*)
Junio C Hamano4447bad2005-09-17 18:56:41276 rsync $quiet -av --ignore-existing \
Junio C Hamanodfeff662006-03-20 08:21:10277 --exclude info "$repo/objects/" "$GIT_DIR/objects/" ||
278 exit
Junio C Hamano4447bad2005-09-17 18:56:41279 # Look at objects/info/alternates for rsync -- http will
280 # support it natively and git native ones will do it on the
281 # remote end. Not having that file is not a crime.
Junio C Hamano89d844d2005-09-20 06:52:33282 rsync -q "$repo/objects/info/alternates" \
Junio C Hamano8a1a1202006-01-15 00:00:32283 "$GIT_DIR/TMP_ALT" 2>/dev/null ||
284 rm -f "$GIT_DIR/TMP_ALT"
285 if test -f "$GIT_DIR/TMP_ALT"
Junio C Hamano4447bad2005-09-17 18:56:41286 then
Pavel Roskin0e9ab022005-11-11 05:19:04287 ( cd "$D" &&
Junio C Hamano4447bad2005-09-17 18:56:41288 . git-parse-remote &&
Junio C Hamano8a1a1202006-01-15 00:00:32289 resolve_alternates "$repo" <"$GIT_DIR/TMP_ALT" ) |
Junio C Hamano4447bad2005-09-17 18:56:41290 while read alt
291 do
292 case "$alt" in 'bad alternate: '*) die "$alt";; esac
293 case "$quiet" in
294 '') echo >&2 "Getting alternate: $alt" ;;
295 esac
296 rsync $quiet -av --ignore-existing \
Junio C Hamano8a1a1202006-01-15 00:00:32297 --exclude info "$alt" "$GIT_DIR/objects" || exit
Junio C Hamano4447bad2005-09-17 18:56:41298 done
Junio C Hamano8a1a1202006-01-15 00:00:32299 rm -f "$GIT_DIR/TMP_ALT"
Junio C Hamano4447bad2005-09-17 18:56:41300 fi
Junio C Hamanodfeff662006-03-20 08:21:10301 git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD"
Junio C Hamano1cadb5a2005-07-23 02:11:22302 ;;
303 http://*)
Fernando J. Pereda6c5c62f2006-02-15 11:37:30304 if test -z "@@NO_CURL@@"
305 then
306 clone_dumb_http "$repo" "$D"
307 else
308 echo >&2 "http transport not supported, rebuild Git with curl support"
309 exit 1
310 fi
Junio C Hamano1cadb5a2005-07-23 02:11:22311 ;;
312 *)
313 cd "$D" && case "$upload_pack" in
Junio C Hamanodfeff662006-03-20 08:21:10314 '') git-fetch-pack --all -k $quiet "$repo" ;;
315 *) git-fetch-pack --all -k $quiet "$upload_pack" "$repo" ;;
316 esac >"$GIT_DIR/CLONE_HEAD" || {
317 echo >&2 "fetch-pack from '$repo' failed."
Junio C Hamano0a8b4de2005-12-13 23:58:00318 exit 1
319 }
Junio C Hamano1cadb5a2005-07-23 02:11:22320 ;;
Junio C Hamano6ec311d2005-07-14 03:25:54321 esac
Linus Torvalds7558ef82005-07-09 00:07:12322 ;;
323esac
Junio C Hamanodfeff662006-03-20 08:21:10324test -d "$GIT_DIR/refs/reference-tmp" && rm -fr "$GIT_DIR/refs/reference-tmp"
325
326if test -f "$GIT_DIR/CLONE_HEAD"
327then
Junio C Hamanoc72112e2006-04-02 23:25:01328 # Read git-fetch-pack -k output and store the remote branches.
Junio C Hamano47874d62006-03-21 08:14:13329 perl -e "$copy_refs" "$GIT_DIR" "$use_separate_remote" "$origin"
Junio C Hamanodfeff662006-03-20 08:21:10330fi
Junio C Hamano1cadb5a2005-07-23 02:11:22331
Pavel Roskin0e9ab022005-11-11 05:19:04332cd "$D" || exit
Junio C Hamano036a72d2005-09-27 00:17:09333
Junio C Hamanodfeff662006-03-20 08:21:10334if test -z "$bare" && test -f "$GIT_DIR/REMOTE_HEAD"
Junio C Hamano036a72d2005-09-27 00:17:09335then
Junio C Hamanodfeff662006-03-20 08:21:10336 # Figure out which remote branch HEAD points at.
337 case "$use_separate_remote" in
338 '') remote_top=refs/heads ;;
Junio C Hamano47874d62006-03-21 08:14:13339 *) remote_top="refs/remotes/$origin" ;;
Junio C Hamanodfeff662006-03-20 08:21:10340 esac
Junio C Hamano47874d62006-03-21 08:14:13341
Junio C Hamanoc72112e2006-04-02 23:25:01342 head_sha1=`cat "$GIT_DIR/REMOTE_HEAD"`
343 case "$head_sha1" in
344 'ref: refs/'*)
345 # Uh-oh, the remote told us (http transport done against
346 # new style repository with a symref HEAD).
347 # Ideally we should skip the guesswork but for now
348 # opt for minimum change.
Mark Woodingf327dbc2006-04-13 22:01:24349 head_sha1=`expr "z$head_sha1" : 'zref: refs/heads/\(.*\)'`
Junio C Hamanoc72112e2006-04-02 23:25:01350 head_sha1=`cat "$GIT_DIR/$remote_top/$head_sha1"`
351 ;;
352 esac
Junio C Hamano47874d62006-03-21 08:14:13353
Junio C Hamanoc72112e2006-04-02 23:25:01354 # The name under $remote_top the remote HEAD seems to point at.
Junio C Hamanodfeff662006-03-20 08:21:10355 head_points_at=$(
356 (
357 echo "master"
358 cd "$GIT_DIR/$remote_top" &&
359 find . -type f -print | sed -e 's/^\.\///'
360 ) | (
361 done=f
362 while read name
363 do
364 test t = $done && continue
365 branch_tip=`cat "$GIT_DIR/$remote_top/$name"`
366 if test "$head_sha1" = "$branch_tip"
367 then
368 echo "$name"
369 done=t
370 fi
371 done
372 )
373 )
Junio C Hamano47874d62006-03-21 08:14:13374
Junio C Hamanoc72112e2006-04-02 23:25:01375 # Write out remotes/$origin file, and update our "$head_points_at".
Junio C Hamanoe125c1a2005-11-02 06:19:36376 case "$head_points_at" in
Junio C Hamanodfeff662006-03-20 08:21:10377 ?*)
Junio C Hamano8a1a1202006-01-15 00:00:32378 mkdir -p "$GIT_DIR/remotes" &&
Junio C Hamanoc72112e2006-04-02 23:25:01379 git-symbolic-ref HEAD "refs/heads/$head_points_at" &&
380 case "$use_separate_remote" in
381 t) origin_track="$remote_top/$head_points_at"
382 git-update-ref HEAD "$head_sha1" ;;
383 *) origin_track="$remote_top/$origin"
384 git-update-ref "refs/heads/$origin" "$head_sha1" ;;
385 esac &&
Junio C Hamano47874d62006-03-21 08:14:13386 echo >"$GIT_DIR/remotes/$origin" \
Junio C Hamanoe125c1a2005-11-02 06:19:36387 "URL: $repo
Junio C Hamanoc72112e2006-04-02 23:25:01388Pull: refs/heads/$head_points_at:$origin_track" &&
Junio C Hamano47874d62006-03-21 08:14:13389 (cd "$GIT_DIR/$remote_top" && find . -type f -print) |
390 while read dotslref
Junio C Hamano95d117b2005-11-06 08:52:57391 do
Junio C Hamano47874d62006-03-21 08:14:13392 name=`expr "$dotslref" : './\(.*\)'` &&
Junio C Hamanoc72112e2006-04-02 23:25:01393 test "$use_separate_remote" = '' && {
394 test "$head_points_at" = "$name" ||
395 test "$origin" = "$name"
396 } ||
Junio C Hamanodfeff662006-03-20 08:21:10397 echo "Pull: refs/heads/${name}:$remote_top/${name}"
Junio C Hamano5ceb05f2006-03-21 09:58:26398 done >>"$GIT_DIR/remotes/$origin" &&
399 case "$use_separate_remote" in
400 t)
401 rm -f "refs/remotes/$origin/HEAD"
402 git-symbolic-ref "refs/remotes/$origin/HEAD" \
403 "refs/remotes/$origin/$head_points_at"
404 esac
Junio C Hamanoe125c1a2005-11-02 06:19:36405 esac
406
Junio C Hamano036a72d2005-09-27 00:17:09407 case "$no_checkout" in
408 '')
Junio C Hamano744633c2006-02-23 03:02:39409 git-read-tree -m -u -v HEAD HEAD
Junio C Hamano036a72d2005-09-27 00:17:09410 esac
411fi
Junio C Hamanodfeff662006-03-20 08:21:10412rm -f "$GIT_DIR/CLONE_HEAD" "$GIT_DIR/REMOTE_HEAD"
Carl Worth41ff7a12006-02-17 21:33:24413
414trap - exit
415