darcs pull 또는 darcs push로 서로 다른 저장소의 패치를 전달하려고 하는데 단일 패치 해시를 지정했는데 darcs가 자꾸 다른 패치를 가져오려고 했다.

‘버그인가⋯ 못쓰겠네⋯ 이래서 사람들이 안 쓰는 건가?’

그런데 ChatGPT에게 물어보니 패치간 의존성이 있기 때문에 그 패치를 먼저 가져오려고 하는 것일 수 있다고 한다. darcs는 어떻게 패치간 의존성을 파악할 수 있는 거지? darcs 의심한 내가 나빠.

0

If you have a fediverse account, you can reply to this note from your own instance. Search https://hackers.pub/ap/notes/019624ea-382c-7e54-8541-d124df5b652a on your instance and reply to it.

darcs show dependencies라고 입력하면 다음과 같이 Graphviz DOT 코드를 출력해준다!

%0 1a66e7eb Initial commit f55ce246 Book.hs: Extract file handle allocation into fileResource function f55ce246->1a66e7eb 227e4ff1 feat: Add greeting text file I/O with uppercase printing 227e4ff1->f55ce246 771b32dc Add `repeatUntilIO` helper and use it in `printFileContentsUpperCase2` 771b32dc->227e4ff1

(해커즈 퍼브에서는 graphviz를 지원합니다!)

2