/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/dirstate.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-28 16:04:39 UTC
  • mfrom: (4387 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4405.
  • Revision ID: jelmer@samba.org-20090528160439-4z0xlrk5nejobm7q
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
    """An interface for getting sha1s of a file."""
268
268
 
269
269
    def sha1(self, abspath):
270
 
        """Return the sha1 of a file given its absolute path."""
 
270
        """Return the sha1 of a file given its absolute path.
 
271
 
 
272
        :param abspath:  May be a filesystem encoded absolute path
 
273
             or a unicode path.
 
274
        """
271
275
        raise NotImplementedError(self.sha1)
272
276
 
273
277
    def stat_and_sha1(self, abspath):
274
278
        """Return the stat and sha1 of a file given its absolute path.
275
279
        
 
280
        :param abspath:  May be a filesystem encoded absolute path
 
281
             or a unicode path.
 
282
 
276
283
        Note: the stat should be the stat of the physical file
277
284
        while the sha may be the sha of its canonical content.
278
285
        """