diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-02-16 11:16:08 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-02-16 11:20:35 -0700 |
commit | aaa7e6437afe4bcc0be861d3914693182e55c30e (patch) | |
tree | 06a943aad6f5e09ea2a2badcc9b1b457cb69fd52 /bin/src-unregister | |
parent | b8423670b74b50d06925774d9461000595d42fb5 (diff) | |
download | dotfiles-aaa7e6437afe4bcc0be861d3914693182e55c30e.tar.gz |
factor src-register-all out of sysmaint
Diffstat (limited to 'bin/src-unregister')
-rwxr-xr-x | bin/src-unregister | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/src-unregister b/bin/src-unregister index ffc31be0..49e82ed7 100755 --- a/bin/src-unregister +++ b/bin/src-unregister @@ -25,6 +25,9 @@ foreach my $repo ( @ARGV ) { if ! ( -d "$repo/.git" || -d "$repo/.hg" ); } +# we rely on calling `mr status` so ensure the repo is registered +system "src-register-all"; + foreach my $repo ( @ARGV ) { (my $output, undef) = tee_stdout { system "mr -m -d $repo status" }; my $confirm = 1; |