English 中文(简体)
如何仅在新tag子产生时,才能执行遥控 repository仓的签字?
原标题:How to enforce remote gnupg signing of Mercurial repository only when new tags are created?
最佳回答

可在服务器上填写pretxnchangegroup。 • 在座标上提高工作效率,但在我头顶部外,你:

阁下:

[hook]
pretxnchangegroup = all-tags-checked.sh

和所有受检查者:

for therev in $(seq $(hg id -n -r $HG_NODE) $(hd id -n -r tip)) ; do
   if hg log --template  {files}  -r $therev | grep --quiet  ^.hgtags  ; then
      if hg sigcheck $therev | grep --quiet  ^No valid  ; then
         exit 1
      fi
   fi
done

这贯穿于所有新的变革和检查,以确保如果它篡夺了......hgtags(add子)的话,也必须签署。

你们是否回想?

问题回答

暂无回答




相关问题
Tracking Versions, Builds, Revisions, with TortiseSVN

I am the sole developer on a project and have been using tortoiseSVN for quite a while. Now Id like to start getting version information working correctly in the project I.E. show Major Version, Minor ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

How to handle different csproj [closed]

I am working in a team of five. We are working on a C# application with five csprojects. The problem is that for each csproject, each of my colleagues has their own ideas on how to reference a DLL; ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...