.hg
폴더없이 Mercurial 저장소를 복제하면 시간을 절약 할 수 있습니다 (프로젝트가 큼)? 팁 파일 만 있으면됩니다..hg없이 Mercurial 저장소 복제
답변
.hg
디렉토리는 전체 저장소 정보를 저장합니다. 즉, 저장소에서 추적 한 모든 파일 및 해당 개정에 대한 정보입니다. 저장소의 경우 바이너리 분산을 사용하여 압축되기 때문에 대개 매우 효율적입니다.
리포지토리를 복제 할 때 복제되는 것은 .hg 디렉터리뿐입니다. 복제 후 얻을 작업 복사본은 .hg
에서 검색됩니다.
저장할 정보가 저장소 정보 (예 : 서버)이면 hg update null
으로 작업 복사본을 제거 할 수 있습니다.
리비전 정보없이 리포지토리의 복제본을 만들려면 hg archive
명령을 사용할 수 있습니다 (아래 참고 자료 참조). 이 복사본은 단지 "작업 복사본"(몇 가지 일반적인 svn 용어 사용)입니다. 다른 수은 작업을 수행하거나 커밋 할 수 없습니다. 아카이브 에있는 파일에 대한
--no-decode do not pass files through decoders -p --prefix
디렉토리의 접두사 :
HG 아카이브 [OPTION] ... DEST
는 저장소 개정 버전없는 아카이브
By default, the revision used is the parent of the working directory; use "-r" to specify a different revision. To specify the type of archive to create, use "-t". Valid types are: "files" (default): a directory full of files "tar": tar archive, uncompressed "tbz2": tar archive, compressed using bzip2 "tgz": tar archive, compressed using gzip "uzip": zip archive, uncompressed "zip": zip archive, compressed using deflate The exact name of the destination archive or directory is given using a format string; see "hg help export" for details. Each member added to an archive file has a directory prefix prepended. Use "-p" to specify a format string for the prefix. The default is the basename of the archive, with suffixes removed.
옵션을 만들 -r --rev 배포 할 수정 버전 -t -ttype - 배포 할 배포 유형 -I --include 지정된 패턴과 일치하는 이름이 주어진 패턴
설명에 따라 대상에는 서식 문자열에서 제공하는 서식있는 정보가 포함될 수 있지만 일반 오래된 경로도 처리합니다. 서식을 사용하면 보관할 경로의 저장소에 대한 정보를 인코딩 할 수 있습니다. –
- 1. Mercurial 로컬 저장소 백업
- 2. Mercurial 저장소 이동
- 3. Mercurial 저장소 내부 형식
- 4. Mercurial 저장소 정리하기
- 5. Mercurial 중앙 저장소 LAN 고스트 폴더?
- 6. Mercurial 저장소 파일 압축 해제
- 7. 로컬로 마운트 된 저장소 복제
- 8. dojo 데이터 저장소 복제/복사
- 9. mercurial-server를 사용하여 새 저장소 만들기
- 10. 복제 된 파일에서 Mercurial 값을 바꾸시겠습니까?
- 11. 수은 저장소 복제, .hgsub는 죽은 외부 서브repo를 나타냅니다.
- 12. Mac 용 좋은 Mercurial 저장소 뷰어
- 13. 여러 분기에 대한 Mercurial 저장소 레이아웃
- 14. Mercurial - hgwebdir.cgi에 대한 저장소 설명을 채우려면 어떻게해야합니까?
- 15. Mercurial : 다중 고객 프로젝트를위한 저장소 레이아웃
- 16. TortoiseHg를 사용하여 데스크톱과 랩톱간에 Mercurial 저장소 공유
- 17. Plastic SCM에 복제 된 저장소 설정
- 18. git 저장소 복제 문제 (초보자 문제)
- 19. mercurial : 하나의 저장소에서 다른 저장소로 하나의 파일 만 "복제"하시겠습니까?
- 20. Mercurial 복제 작업이 작동하지만 쓰기 액세스 권한이 없습니다.
- 21. 로컬 퍼 포스 작업 공간을 Mercurial Repo로 복제/변환
- 22. Mercurial - 명명 된 분기로 복제 또는 분기를 사용하여 분기
- 23. Windows에서 Mercurial 저장소를 복제 할 때 하드 링크 사용
- 24. Mercurial clone multiple repositories
- 25. mercurial/kiln의 저장소 URL에 "별칭"을 지정할 수 있습니까?
- 26. Mercurial 저장소 - 서버의 자동 hg add/hg commit 명령
- 27. 설정 파일을 빌드하기위한 이진 파일을 사용하는 Mercurial 저장소 사용법
- 28. Mercurial Clone Error
- 29. 다른 버전의 Mercurial repo
- 30. Mercurial 초보자가 혼동했습니다.
어떻게이 시간을 절약 할 수 있다는 생각을 일치하는 이름을 제외 --exclude 을 -X 포함되어 있습니까? non-repo 복사본을 변경해야합니까? –
@Joel B Fant No. – oaziz