PK͉|Itwatchman/.DS_StoreBud1cache_ __pycache__vSrnlong  @ @ @ @ EDSDB ` @ @ @PK]}Iippwatchman/__init__.py""" watchman: version control status management made easy.""" __version__ = '0.0.3' __author__ = 'Aleph Melo' PKJ}Ihhwatchman/main.pyfrom __future__ import print_function import sys import os from sh import cd, hg def _get_subdirectories(current_dir): return [directory for directory in os.listdir(current_dir) if os.path.isdir(os.path.join(current_dir, directory)) and directory[0] != '.'] def check(): current_working_directory = os.getcwd() child_dirs = _get_subdirectories(current_working_directory) for child in child_dirs: try: current_branch = hg.branch('-R', './%s' % child) output = '%-25s is on branch: %s' % (child, current_branch) print(output, end='') except Exception as e: 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.3.dist-info/entry_points.txtN+I/N.,()*O,IMSU1r3@PK!H|&Ubwatchman-0.0.3.dist-info/WHEEL HM K-*ϳR03rOK-J,/RH,Q034 /, (-JLR()*M ILR(4KM̫#DPK!HΤX!watchman-0.0.3.dist-info/METADATA]N0 y @v; ED&Nb9,$ޞT"q}YvG#2ZnD|!$VVJn19'(809E Oh E礼3PdXw9xWY;\@SKz&>(h,_ rh5 ֧qIwc4r5q<q/OLXܛ*g}@M o㨛FVPK!Hb"PZwatchman-0.0.3.dist-info/RECORDuV0@ѽ!p-)hP*׻wT v/1Yz6T,plJl;Qq̜PJt Br&oޛwdE4>Ep[wsК$MǁjV_P96hiqI)S5w,6qD ϑYuD(υ\,KS6X{j=]wlZG('yQ%N~盒 ##˛LP9N&(Fډ}uk+%bv㭑n(;mIV;qtorPK͉|Itwatchman/.DS_StorePK]}Iipp4watchman/__init__.pyPKJ}Ihhwatchman/main.pyPK!H7 *1)lwatchman-0.0.3.dist-info/entry_points.txtPK!H|&Ubwatchman-0.0.3.dist-info/WHEELPK!HΤX!nwatchman-0.0.3.dist-info/METADATAPK!Hb"PZwatchman-0.0.3.dist-info/RECORDPK-