1

我搜索了 mercurial 文档,但找不到与我想做的类似的事情:

执行后hg pull给出总结,例如:

adding changesets
adding manifests
adding file changes
added 5 changesets with 4 changes to 2 files

我怎样才能减少更改的文件的名称?然后为每个文件更改?我也尝试了 hg log 但这并没有真正给我我正在寻找的细节。

4

1 回答 1

2

You can use a combination of

hg incoming

(which displays the incoming changesets)

and

hg diff -c REVISION FILE

to get the changes for a file.

To see what exactly was changed in a file you can use

hg annotate -r REVISION -d -u FILE

which shows you exactly what was changed in a file by who.

于 2013-04-23T15:16:57.400 回答