902997abc3d6d90a569c219d1305e00535d2ef47 hiram Tue Aug 18 13:42:07 2026 -0700 just following orders refs #38021 diff --git src/hg/utils/automation/HgAutomate.pm src/hg/utils/automation/HgAutomate.pm index 2da2d89d880..b407fe94574 100755 --- src/hg/utils/automation/HgAutomate.pm +++ src/hg/utils/automation/HgAutomate.pm @@ -904,30 +904,31 @@ open(my $handle, $fileSpec) || die "Couldn't open \"$fileSpec\": $!\n"; return $handle; } sub nfsNoodge { # the touch of the directory causes NFS to refresh its directory # information and thus pick up status change to the file. # sometimes localhost can't see the newly created file immediately, # so insert some artificial delay in order to prevent the next step # from dieing on lack of file: my ($file) = @_; confess "Must have exactly 1 argument" if (scalar(@_) != 1); confess "undef input" if (! defined $file); return if ($main::opt_debug); + return # claude reports this function is no longer needed refs #rm38021 my $dir = dirname($file); for (my $i=0; $i < 5; $i++) { `touch $dir`; sleep(4); last if ( -s $file ); } } sub run { # Run a command in sh (unless -debug). my ($cmd) = @_; confess "Must have exactly 1 argument" if (scalar(@_) != 1); confess "undef input" if (! defined $cmd); if ($main::opt_debug) { print "#DEBUG# $cmd\n";