[cfe-dev] Phabricator import diff to git

via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 18 10:21:27 PST 2019


Hello together,

i have a question about the use of Phabricator. 
For example D56571 how i can import the diff to git ?

My steps: 

1. i downloaded the raw diff 
2. i try to patch with arc --> ../arcanist/arcanist/bin/arc patch --patch /home/dti/D56571.diff

But then i got the following Errors:

You have untracked files in this working copy.

  Working copy: /data/kernel/llvm-project/

  Untracked changes in working copy:
  (To ignore these changes, add them to ".git/info/exclude".)
    build/
    test/
    trunk/

    Ignore these untracked files and continue? [y/N] y

 INFO  Base commit is not in local repository; trying to fetch.
Created and checked out branch arcpatch.
Checking patch include/clang/AST/Stmt.h...
error: include/clang/AST/Stmt.h: does not exist in index
Checking patch include/clang/Basic/DiagnosticParseKinds.td...
error: include/clang/Basic/DiagnosticParseKinds.td: does not exist in index
Checking patch include/clang/Basic/DiagnosticSemaKinds.td...
error: include/clang/Basic/DiagnosticSemaKinds.td: does not exist in index
Checking patch include/clang/Sema/Sema.h...
error: include/clang/Sema/Sema.h: does not exist in index
Checking patch lib/AST/ASTImporter.cpp...
error: lib/AST/ASTImporter.cpp: does not exist in index
Checking patch lib/AST/Stmt.cpp...
error: lib/AST/Stmt.cpp: does not exist in index
Checking patch lib/AST/StmtPrinter.cpp...
error: lib/AST/StmtPrinter.cpp: does not exist in index
Checking patch lib/AST/StmtProfile.cpp...
error: lib/AST/StmtProfile.cpp: does not exist in index
Checking patch lib/Analysis/CFG.cpp...
error: lib/Analysis/CFG.cpp: does not exist in index

ould anyone help me what is wrong ?

-- 
Damian Tometzki
linux_dti at icloud.com



More information about the cfe-dev mailing list