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

1 vote
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 Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

281 views 38 9
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot