Cant upload file for pre-commit review (crucible)


I created a patch file from our perforce repository,

I now want to perform a pre-commit review on the patch file; when i try to load the file using pre-commit reviews option, it fails and gives me this error

How do i proceed from here? I tried several encoding but it is still the same.

My patch file is named patch.txt

No files found in patch. If it is not a valid patch file, upload it as an attachment.


1 answer

1 accepted

This widget could not be displayed.
Lukasz Pater Atlassian Team Jul 06, 2014

Hi Rahul,

how are you creating the patch file?

For Perforce you should be using:

Crucible 3.3.1 or earlier: p4 diff -dcu > patch.txt

Crucible 3.3.2 or later: p4 -z tag diff -du > patch.txt

See more details

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

133 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you