2017-12-07 2 views
0

.hg/hgrc에 다음과 같은 구성을 가지고 "hg outgoing"은 기본값을 사용해서는 안됩니다 : 기본값 대신 pushurl을 사용 하시겠습니까?

[paths] 
default   = ssh://remote//path/to/pull/repo 
default:pushurl = ssh://remote//path/to/push/repo 

그리고 예상대로 pull -ing와 in -ing와 default:pushurl를 사용하는 경우, default 사용

push -ing :

$ hg pull 
pulling from ssh://remote//path/to/pull/repo 

$ hg in 
comparing with ssh://remote//path/to/pull/repo 

$ hg push 
pushing to ssh://remote//path/to/push/repo 

비록 outgoing 명령을 사용하는 경우 기본값이 아닌 기본값 인 경로가 사용됩니다. pushurl는 :

$ hg outgoing 
comparing with ssh://remote//path/to/pull/repo 

Mercurial BugTracker issue 이제 몇 시간 동안 존재하고 두 경우 모두에 대한 인수가 있습니다. 문제가 해결되면 간단한 문제가있는 것으로 보입니다. 질문 :

실제로이 기능은 기능 또는 버그입니까?

답변

관련 문제