Mercurial > core / lisp/lib/vc/tests.lisp
changeset 325: |
9b573fc6bc40 |
parent: |
1c6e8353a855
|
child: |
95b861dff3d8 |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Fri, 10 May 2024 19:33:40 -0400 |
permissions: |
-rw-r--r-- |
description: |
vc updates, fixed missing in-package lines, skel errors |
7 (defmacro with-temp-repo (kind &body body) 8 `(let ((repo ,(make-instance 'vc::vc-repo))) 9 (setf (vc::vc-repo-path repo) (merge-pathnames (format nil "~A" (gensym "repo")) "/tmp/")) 11 (:hg (sb-mop::change-class repo 'hg-repo)) 12 (:git (sb-mop::change-class repo 'git-repo)) 15 (let ((*default-pathname-defaults* (vc::vc-repo-path repo))) 20 (is (streamp (sb-ext:process-output (run-git-command "status" nil :stream)))))) 24 (is (streamp (sb-ext:process-output (run-hg-command "status" nil :stream))))))