Changeset 177


Ignore:
Timestamp:
03/05/08 10:44:12 (17 years ago)
Author:
Magnus Henoch
Message:

Check that we don't pull from current repository

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified cl-darcs/trunk/cmdline.lisp ΒΆ

    r176 r177  
    316316        (setf from-repositories (list nil)))
    317317
     318    ;; We can't pull from ourselves.
     319    (when (member ourrepo from-repositories :test #'equal)
     320      (error "Can't pull from current repository!"))
     321
    318322    (dolist (theirrepo from-repositories)
    319323      (pull ourrepo theirrepo :select-patches (if all-patches :all :ask)))
Note: See TracChangeset for help on using the changeset viewer.