Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/s/h/shove-0.5.6/shove/stores/hgstore.py   shove(Download)
    def __setitem__(self, key, value):
        super(HgStore, self).__setitem__(key, value)
        fname = self._key_to_file(key)
        status = self._repo.hg_status()
        if fname in status['!']:
    def __delitem__(self, key):
        super(HgStore, self).__delitem__(key)
        fname = self._key_to_file(key)
        if fname in self._repo.hg_status()['R']:
            self._repo.hg_remove(fname)