Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 5666:9d6ad26fab10
fix spelling error
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 18 Dec 2007 15:40:46 -0600 |
parents | 47915bf68c44 |
children | 883d887c6408 |
comparison
equal
deleted
inserted
replaced
5665:495a9dc86fc2 | 5666:9d6ad26fab10 |
---|---|
1735 changedfiles.sort() | 1735 changedfiles.sort() |
1736 # Go through all our files in order sorted by name. | 1736 # Go through all our files in order sorted by name. |
1737 for fname in changedfiles: | 1737 for fname in changedfiles: |
1738 filerevlog = self.file(fname) | 1738 filerevlog = self.file(fname) |
1739 if filerevlog.count() == 0: | 1739 if filerevlog.count() == 0: |
1740 raise util.abort(_("empty or missing revlog for %s") % fname) | 1740 raise util.Abort(_("empty or missing revlog for %s") % fname) |
1741 # Toss out the filenodes that the recipient isn't really | 1741 # Toss out the filenodes that the recipient isn't really |
1742 # missing. | 1742 # missing. |
1743 if msng_filenode_set.has_key(fname): | 1743 if msng_filenode_set.has_key(fname): |
1744 prune_filenodes(fname, filerevlog) | 1744 prune_filenodes(fname, filerevlog) |
1745 msng_filenode_lst = msng_filenode_set[fname].keys() | 1745 msng_filenode_lst = msng_filenode_set[fname].keys() |
1821 yield chnk | 1821 yield chnk |
1822 | 1822 |
1823 for fname in changedfiles: | 1823 for fname in changedfiles: |
1824 filerevlog = self.file(fname) | 1824 filerevlog = self.file(fname) |
1825 if filerevlog.count() == 0: | 1825 if filerevlog.count() == 0: |
1826 raise util.abort(_("empty or missing revlog for %s") % fname) | 1826 raise util.Abort(_("empty or missing revlog for %s") % fname) |
1827 nodeiter = gennodelst(filerevlog) | 1827 nodeiter = gennodelst(filerevlog) |
1828 nodeiter = list(nodeiter) | 1828 nodeiter = list(nodeiter) |
1829 if nodeiter: | 1829 if nodeiter: |
1830 yield changegroup.chunkheader(len(fname)) | 1830 yield changegroup.chunkheader(len(fname)) |
1831 yield fname | 1831 yield fname |