Re: [RFC] Applying a graft to a tree and "rippling" the changes through the history
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Nov 6, 2005, 22:43 UTC
- Message-ID
- <867jblpfcq.fsf@blue.stonehenge.com>
- In-Reply-To
- <436E85DA.1080904@michonline.com>
>>>>> "Ryan" == Ryan Anderson <ryan@michonline.com> writes:
Ryan> chdir($ARGV[0]);
That's dangerous without an "or-die". Being in the wrong directory before you do a lot of edits is a good way to bust your disk. :)
Ryan> my ($commit,@parents) = split /\s+/;
split with no args splits $_ on whitespace, tossing leading whitespace, just in case they ever put whitespace indentation ahead.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!