diff --git a/README.md b/README.md index 238e4765..6600d38f 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ the following form, :fetcher [git|github|bzr|hg|darcs|svn|cvs|wiki] [:url ""] [:repo "github-user/repo-name"] + [:module "cvs-module"] [:files ("", ...)]) ``` @@ -121,7 +122,7 @@ a lisp symbol that has the same name as the package being specified. specifies the URL of the version control repository. *required for the `git`, `bzr`, `hg`, `darcs`, `svn` and `cvs` fetchers* -- `:cvs-module` +- `:module` specifies the module of a CVS repository to check out. Defaults to to `package-name`. Only used with `:fetcher cvs`, and otherwise ignored. diff --git a/package-build.el b/package-build.el index 859b4119..b8566965 100644 --- a/package-build.el +++ b/package-build.el @@ -258,7 +258,7 @@ Return a cons cell whose `car' is the root and whose `cdr' is the repository." "Check package NAME with config CONFIG out of csv into DIR." (with-current-buffer (get-buffer-create "*package-build-checkout*") (let ((root (pb/trim (plist-get config :url) ?/)) - (repo (or (plist-get config :cvs-module) (symbol-name name))) + (repo (or (plist-get config :module) (symbol-name name))) (bound (goto-char (point-max)))) (cond ((and (file-exists-p (expand-file-name "CVS" dir))