<s> """<STR_LIT>""" <EOL> from __future__ import absolute_import <EOL> from __future__ import division <EOL> from __future__ import print_function <EOL> import phlsys_subprocess <EOL> def all_prune ( repo ) : <EOL> """<STR_LIT>""" <EOL> repo ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> def prune_safe ( repo , remote , refspec_list = None ) : <EOL> """<STR_LIT>""" <EOL> if refspec_list is None : <EOL> refspec_list = [ ] <EOL> try : <EOL> repo ( '<STR_LIT>' , remote , '<STR_LIT>' , * refspec_list ) <EOL> except phlsys_subprocess . CalledProcessError : <EOL> repo ( '<STR_LIT>' , '<STR_LIT>' , remote ) <EOL> repo ( '<STR_LIT>' , remote , * refspec_list ) </s>
