Is there a built-in or mercury extension to remove all "irrelevant" files from the root directory of the repositories?

I need all the files in the root repo folder except .hg / ,. hgignore, .hgtags, etc. Is there a built-in or existing mercurial extension for this?

I implemented a non-hg script with "mercury files" with hard code, but I need a programmatic method to exclude files related to mercurial.

I am trying to flip the server configuration management without mercury (Starteam), periodically deleting all the files, doing a clean check from Starteam, and then running hg addremove and then checkin.

+3
source share
3 answers

, , hg update -r null , , , . .hg , .hgtags .hgignore . , , hg update , .

+3

, Starteam, .

hg clone -U . , . Starteam hg addremove.

0

Starteam .

:

/MyRepo/
/MyRepo/.hg
/MyRepo/.hgignore
/MyRepo/Starteam/
/MyRepo/Starteam/Starteam file 1
etc.

"Starteam", Mercurial .

0
source

Source: https://habr.com/ru/post/1728391/


All Articles