x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Trouble setting up BitBucket Source Control [4.7.1]

Hello Answerhub,

I'm currently setting up a new project in UE 4.7.1 and wanted to set up Source Control from the get-go. I have a repository on Bit Bucket and wanted to link it to my Unreal project. It's a Git repository, just not using GitHub.

However, when using the Source Control Login screen that's now on the main dashboard within Unreal, I get the following error messages after pointing it towards my git binary:

====

Error error: invalid key: pager.Projects/

Error error: invalid key: alias.Projects/

Error git: 'Projects/' is not a git command. See 'git --help'.

Error You should check out a working copy into your project directory.

Error Project is not part of a Git working copy.

====

My .git folder is one level above the project folder; that is to say, my Unreal Projects folder looks like this:

.git

Project_Folder/project.uproject

Have I set up my repository wrong? Should I have set it up inside my project's folder instead of above it?

Thanks, Shrooblord

Product Version: Not Selected
Tags:
more ▼

asked Mar 01 '15 at 06:40 PM in Using UE4

avatar image

Shrooblord
91 18 20 21

avatar image Tom Sarkanen STAFF Mar 02 '15 at 03:42 PM

I've tested this internally and project directories do not need to contain the .git folder, they just need to be under a folder that does to be considered part of a working copy. However I have not been able to test this against BitBucket.

avatar image Tom Sarkanen STAFF Mar 02 '15 at 03:47 PM

The error looks to be a mishandling of paths with spaces in it.

For the record, I tried one directory below my Unreal Projects directory (i.e. Unreal Projects/SubDir) as I already had Git working copy in a subdirectory. I'll try to look into it some more and add a working copy for the whole Unreal Projects dir.

avatar image Shrooblord Mar 03 '15 at 03:37 PM

Thank you. Could you post back here or have it appear in the update patch notes if you manage to fix this issue?

avatar image Tom Sarkanen STAFF Mar 04 '15 at 08:55 AM

Sure, no problem.

avatar image Shrooblord Mar 23 '15 at 01:12 PM

You wouldn't happen to have made any progress on this?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The problem is in fact that my Git Plugin could not work correctly under OSX with UE4.7 (up to 4.7.3).

There was a bug in the Unreal Engine regarding the Mac Platform that I fixed a week ago : https://github.com/EpicGames/UnrealEngine/pull/920

That fix was merged onto master on commit 2196a60

(duplicate of https://answers.unrealengine.com/questions/167927/47-preview-5-git-doesnt-work-with-existing-reposit.html#answer-197528 and https://answers.unrealengine.com/questions/194024/472-problem-activating-git-support-bitbucket.html#answer-204316)

more ▼

answered Apr 01 '15 at 07:29 PM

avatar image

SRombauts
1.1k 22 17 97

avatar image Shrooblord Apr 08 '15 at 07:22 AM

I read on another AH question you answered that this will be fixed for 4.8. Thanks for the information.

avatar image mindblender Apr 28 '15 at 01:47 AM

I had the same issue. Thanks for fixing.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question