如何列出我创建的所有文件?

Geo*_*uer 3 version-control mercurial

我想获得最初由我创建的当前版本中的所有文件的列表.有谁知道我怎么做到这一点?

mpm*_*mpm 5

这是另一种更直接的方法.

for f in `hg locate`; do hg log -r "first(follow('$f'))" --template "$f: {author}\n"; done
Run Code Online (Sandbox Code Playgroud)

翻译:

for each file
  follow its history to the beginning
    print the filename and author
Run Code Online (Sandbox Code Playgroud)

要简单地获取Bob首先介绍的文件列表:

for f in `hg locate`; do hg log -r "first(follow('$f')) and author(bob)" --template "$f\n"; done
Run Code Online (Sandbox Code Playgroud)