Phabricator import diff to git

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Phabricator import diff to git

Bakhvalov, Denis via cfe-dev
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
[hidden email]
_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev