ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to create a diff file from gazebo development version

asked 2011-11-23 03:16:52 -0600

jrcapriles gravatar image

updated 2011-11-23 03:20:00 -0600

Hi everyone!

I downloaded the gazebo development version and I'm working on it. How can I create a diff file of all gazebo package (including the sourcecode) to see my changes and easily make a patch??

I downloaded the simulator gazebo from: svn co ~/simulator_gazebo/

Added the new simulator gazebo path to ROS_PACKAGE_PATH and build. It takes like 700 seconds and then all is OK, in build folder is all the source code.

If I do a "svn st" all the folders are with a "?" If I do a svn info it returns:

Path: . URL: Repository Root: Repository UUID: eb33c2ac-9c88-4c90-87e0-44a10359b0c3 Revision: 38270
Node Kind: directory Schedule: normal
Last Changed Author: hsu
Last Changed Rev: 37935
Last Changed Date: 2011-09-16 22:44:55 +0200 (Fri, 16 Sep 2011)

And if I do a svn diff it don't return anything (even if a made some changes in the source code). What am I doing wrong? or what is the proper way of do it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-24 21:24:27 -0600

jrcapriles gravatar image

I already found the answer to my own question, when you are working with development versions, the source code package is donwloaded when you do a rosmake, in my case if you go to simulator_gazebo/gazebo folder, it should be a "Makefile.gazebo.trunk" this file contain all the information required to building the code. There is the location of the source code repository. In my case is in:


You can do a "svn co" of this repository, add your changes and then do a "svn diff", this will return you a patch file from gazebo source code. I did this to attach this patch to a gazebo defect ticket with IRSensor

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-23 03:16:52 -0600

Seen: 446 times

Last updated: Nov 24 '11