Changeset 257952a in lab.git


Ignore:
Timestamp:
Nov 27, 2013 4:02:06 PM (11 years ago)
Author:
Ken-ichi Mito <mitty@…>
Branches:
master
Children:
41617a0
Parents:
d6dd05b
Message:

change information messages

  • replace symbols to git command keywords
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/github/GitHubBackup.pm

    r4351b0c r257952a  
    260260    if (-d "$dir") { 
    261261        local $CWD = $dir; 
    262         $self->message("++> $dir"); 
     262        $self->message("fetch --all $dir"); 
    263263        Git::Repository->run(fetch => '--all'); 
    264264        return $self; 
    265265    } 
    266266     
    267     $self->message("==> $dir"); 
     267    $self->message("clone --mirror $dir"); 
    268268    mkpath $dir; 
    269269    Git::Repository->run(clone => '--mirror' => $url => $dir); 
     
    302302    foreach my $fork (@{$self->forks}) { 
    303303        if ($remotes =~ /$fork->{full_name}/) { 
    304             $self->message("--- ". $fork->{full_name}); 
     304            $self->message("have ". $fork->{full_name}); 
    305305            next; 
    306306        } 
    307         $self->message("+++ ". $fork->{full_name}); 
     307        $self->message("remote add ". $fork->{full_name}); 
    308308        Git::Repository->run(remote => add => $fork->{full_name} => $fork->{clone_url}); 
    309309        push @fetch, $fork->{full_name}; 
     
    311311     
    312312    foreach my $fork (@fetch) { 
    313         $self->message("--> $fork"); 
     313        $self->message("fetch $fork"); 
    314314        Git::Repository->run(fetch => $fork); 
    315315    } 
     
    362362    foreach my $issue (@{$self->issues}) { 
    363363        my $number = $issue->{number}; 
    364         $self->message("+++ issue/$number"); 
     364        $self->message("save issue/$number"); 
    365365         
    366366        open my $fh, ">$number.json"; 
Note: See TracChangeset for help on using the changeset viewer.