##// END OF EJS Templates
merge with stable
Matt Mackall -
r16755:d0b9ebba merge default
parent child Browse files
Show More
@@ -331,6 +331,9 b' static PyObject *_listdir(char *path, in'
331 331 err = lstat(fullpath, &st);
332 332 #endif
333 333 if (err == -1) {
334 /* race with file deletion? */
335 if (errno == ENOENT)
336 continue;
334 337 strncpy(fullpath + pathlen + 1, ent->d_name,
335 338 PATH_MAX - pathlen);
336 339 fullpath[PATH_MAX] = 0;
@@ -867,6 +867,10 b' def present(repo, subset, x):'
867 867 """``present(set)``
868 868 An empty set, if any revision in set isn't found; otherwise,
869 869 all revisions in set.
870
871 If any of specified revisions is not present in the local repository,
872 the query is normally aborted. But this predicate allows the query
873 to continue even in such cases.
870 874 """
871 875 try:
872 876 return getset(repo, subset, x)
General Comments 0
You need to be logged in to leave comments. Login now