There are times in life where you need help, and frankly going through an OpenHatch mission could be one of those times. Have any hangups, issues, or porblems going through any of the missions? This is the place to ask!
I'm going through the 'svn diff' and getting the message that I've edited the wrong file: My SVN diff is:
Index: README =================================================================== --- README (revision 3) +++ README (working copy) @@ -1,5 +1,5 @@ The secret word needed to infiltrate the compound is in word.txt. You -also will need to be wearing a red hat. Good luck on your mision! +also will need to be wearing a red hat. Good luck on your mission!
-- Mr. Bad
Pretty sure that's the right file as the other file only contains one word (correctly spelled)....
I think something's wrong with the answer to compare.
Hi. I'm sorry, I seem to be interrupting an ongoing conversation, but I'm having a problem unpacking tarballs.
I go to cmd, and change the directory to the folder which contains nothing but the tarball. I then type "tar vxf ghello-0.4.tar.gz" and the computer replies that "tar" is not recognised as a command. I then try putting <> around the file name, and the computer tells me that the syntax is incorrect...
I'm not sure what the issue is. Can somebody help?
Take a look at the help inside the tar mission. I think that there is a section that talks about software you need to install Windows before you can really do the mission.
Hi there! I just tried it today and also had the same problem with the 'svn diff' command. I'm pretty sure I'm doing it right (looks exactly the same as @rgautier). I also tried cd'ing up a level and executing 'svn diff svn_missions' and pasting that info, but still no dice.
I'm doing the Using Git mission, and when you get to the "Creating a patch":"Diffing your changes" page, it tells you to do "git commit" and add a log message, but that launches a test editor that your average newbie (including me) isn't going to recognize or know how to use, and is very counterintuitive to use. In my case (on Windows), it basically locked up the program and made me unable to continue using Git Bash and have to shut it off in the task manager. It seems this is a common question too.
I suggest that page be edited to include either instructions on how to edit with vi (?) once the editor is open, or have a step that shows the user how to set it up to use their favorite text editor. Theoretically, this is something that Git should tell them, but you can't find this information in the help, and I had to find the above link just to know what editor it was using and even describe the problem!
By the way, it doesn't help that this forum lumps every message in a category into the same page; why not have pages for each questions?
Sorry if I sound peeved, I otherwise really appreciate what openhatch is doing.
What's the resolution for the svn diff problem? I get the same error "The patch affects the wrong file" after applying the simple one letter fix on the README file.
@SilasX I submitted a bug conserning your issue. In the mean time, I suggest using git commit -m"Message here" after you git add the appropriate files. This will add a commit message without the need of an editor.
'svn diff': having problems with the same issue as hghesteemed. I can't complete the next round 'committing your changes' until 'svn diff' is completed.
I'm getting an error message in Ubuntu 11.10 while trying to extract ghello-0.4.tar.gz
$ sudo tar xvzf ghello-0.4.tar.gz tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors
I also get the same error while extracting the file using the gnome GUI tools.
I am encountering the same issue when attempting to submit my diff - I receive error advising that my patch either affects more than one file or the wrong file. I have tried in Firefox and Chrome and using notepad and gedit to edit the README file.
Issue 564 on the bugs list appears to be closed as resolved, due to no method of recreating the bug.
i was having some problems with the diff command. i downloaded a text file and modified it. i saved it as a separate file. then from the terminal, i ran : diff -u . as instructed, i copy-pasted the output to the dialogue box on the site. but my response is being termed invalid. could someone point me in the right direction?
I'm doing the SVN mission, and I'm trying to commit my changes, but I keep getting the error message "commit blocked by pre-commit hook (exit code 1)." I'm using TortoiseSVN on Win7. After I edit the files, select both in Windows Explorer, right click and select SVN Commit from the context menu. I enter my log message in the comment box and enter my credentials when prompted, but I can't seem to get the files to commit.
OpenHatch is a community of people aiming to help newcomers find their way into free software projects. If you like talking about that, please join the conversation!