Using Mercurial (hg), how to pop only one file or one directory?

Using Mercurial, we can commit a single file using

hg commit file.rb

or 1 folder

hg commit foldername

But how can we pull out only 1 file or 1 folder?

The whole project can be clicked with

hg push ssh://peter@192.168.1.102//project/code/preliminary

but there seems to be no way to push only 1 file or 1 folder?

I tried the following and they do not work:

hg push ssh://peter@192.168.1.102//project/code/preliminary app/views/index.html.erb

or

hg push ssh://peter@192.168.1.102//project/code/preliminary/app/views/index.html.erb
+3
source share
1 answer

Mercurial. Mercurial ( Subversion git CVS) , ; . push pull , .

+3

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


All Articles