I am switching from svn to hg. Each of my individual projects is in its own subdirectory. In my svn projects, I computed the integer version of no. project by running svn information from the Makefile. Is there an hg equivalent for this that will let me know the version # of each project in its own subdirectory? I looked at the hg summary, but it just looks like the # version of the entire repository, not the directory where the command is running.
TY, Fred
Try the following:
hg id
or if you really want to get a fantasy:
hg log --template '{latesttag}-{latesttagdistance}-{node}' -r .
which, if you flag releases, gets you something like this:
1.0.1-10-6746879deadbeef05
I donβt think there is one team. Previous answers focused on displaying the status of the repo tip. Add
hg paths
for repo url.
You can also try
hg log -r .
for a better conclusion.
Source: https://habr.com/ru/post/896049/More articles:Reading a huge XML file using StAX and XPath - javaIdentification of actors to use - umlHow do I make JavaScript files appear in the list in the Scripts section of Google Chrome? - javascriptHow to create a form using LinkButton? - htmlhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/896048/pass-kwargs-with-invalid-key-value-pairs-to-function&usg=ALkJrhjZ8ObU-0Xb_MSsGS8AwX6jhVjhOQHow can I mask elements of an array of records in Numpy? - pythonupload_max_filesize - the ideal ubuntu server ISPConfig 3 - phpphp mysql first letter query! = [az] - phpCustom Spring framework exception messages - spring-mvcHow to combine this text faster? - performanceAll Articles