;ò = ÄDc@sdkZdkZdkZdkiZdkTdkiZdki Z dk i Z ei i diƒƒZde ifd„ƒYZeZdS(N(s*s< darcs pull --repodir=%(REPODIR)s --all --verbose --no-test sDarcscBsGtZd„ZeededƒgƒZd„ZeedgƒZRS(Nc CsÖ| o|idƒ}n| o|iddtƒnx•|D]} tit hd| <ƒ}gi }|i D]} || iƒƒqt~}|i|ddddƒ|iƒ}|itd |ƒƒqAWd S( s™[ [ [...]]] Does a darcs pull on . If is not given, uses the default configured repodirs. srepossNo repositories given.sRaisesREPODIRsprefixersDarcs output: sjoiners; sDarcs returned %i.N(srepodirssselfs registryValuesircserrorsTruesrepodirspopen2sPopen4sdarcsCommandLinesinstsappends_[1]s fromchildslinesrstripslinessrepliesswaitsretsreplysformat( sselfsircsmsgsargssrepodirsslinessrets_[1]sinstsrepodirsline((s./Darcs/plugin.pyspull1s0 sownersfilenamecCs|idƒ}| o|iddtƒnti|ƒ}x'|i D]}|i i |i ƒƒqGW|iƒ}|itd||ƒƒdS(s‹takes no arguments Does an install, executing the string supybot.plugins.Darcs.installCmd in an isolated process. s installCmdsNo configured installCmd.sRaises%q returned %s.N(sselfs registryValuescmdsircserrorsTruespopen2sPopen4sinsts fromchildslineslogsinfosrstripswaitsretsreplysformat(sselfsircsmsgsargsscmdsretsinstsline((s./Darcs/plugin.pysinstallCs  (s__name__s __module__spullswrapsanysinstall(((s./Darcs/plugin.pysDarcs0s  (sosssysspopen2s supybot.utilssutilsssupybot.commandsssupybot.pluginsspluginsssupybot.ircutilssircutilsssupybot.callbackss callbackssstrsnormalizeWhitespacesstripsdarcsCommandLinesPrivmsgsDarcssClass( sdarcsCommandLinesDarcssutilsspopen2ssyss callbacksspluginssossClasssircutils((s./Darcs/plugin.pys?s       %