'Return the corresponding local folder for a given remotefolder.'

def get_local_folder(self, remotefolder):

    return self.localrepos.getfolder(remotefolder.getvisiblename().replace(self.remoterepos.getsep(), self.localrepos.getsep()))
