PK͉|Itwatchman/.DS_StoreBud1cache_ __pycache__vSrnlong  @ @ @ @ EDSDB ` @ @ @PK|IM3qppwatchman/__init__.py""" watchman: version control status management made easy.""" __version__ = '0.0.2' __author__ = 'Aleph Melo' PK]|I9bbwatchman/main.pyimport sys import os from sh import cd, hg def _get_subdirectories(current_dir): return [name for name in os.listdir(current_dir) if os.path.isdir(os.path.join(current_dir, name))] def check(): current_working_directory = os.getcwd() child_dirs = _get_subdirectories(current_working_directory) for child in child_dirs: if child[0] != '.': try: cd('%s/%s' % (current_working_directory, child)) current_branch = hg('branch') print('%s is on branch: %s' % (child, current_branch), end='') cd('..') except Exception: continue def main(): arguments = sys.argv if 'check' == arguments[1]: check() else: print("type watchman help for, you know, help.") if __name__ == '__main__': main() PK!H7 *1)watchman-0.0.2.dist-info/entry_points.txtN+I/N.,()*O,IMSU1r3@PK!H|&Ubwatchman-0.0.2.dist-info/WHEEL HM K-*ϳR03rOK-J,/RH,Q034 /, (-JLR()*M ILR(4KM̫#DPK!HQ'X!watchman-0.0.2.dist-info/METADATA]N0 y @v; ED&Nb9,$ޞT"q}YqDB4~RPˍё/A;*YezLa ? ~-DFN298#aHs 4UY .J4kG֗hY[/B *XCn`}dqg1Fa(o^#A)8wsg=bDŽ{t4ʛ8ꦩePK!H1}Zwatchman-0.0.2.dist-info/RECORDuK0}%@,OPnR( 61O~V 7KnRjjKq>6% ߯$ossMY}akƌi t}XS0.|l$J[xIߍXϺ\poaԕE =pWF̩, \0 Ӱ+࢑Џ}K.2`2Υj$)y Tc-mk0`92nZW89 tsQٓ^kG΃|5J,XY0ɒr-Fz['!uڇvPZw31$DqPK͉|Itwatchman/.DS_StorePK|IM3qpp4watchman/__init__.pyPK]|I9bbwatchman/main.pyPK!H7 *1)fwatchman-0.0.2.dist-info/entry_points.txtPK!H|&Ubwatchman-0.0.2.dist-info/WHEELPK!HQ'X!hwatchman-0.0.2.dist-info/METADATAPK!H1}Zwatchman-0.0.2.dist-info/RECORDPK&