Tommaso Cucinotta schreef op 7-5-2014 0:57:

>Be aware of its embedded debugging feature: 'lyx -dbg this,that,whatever' will enable debugging >on the terminal of those comma-separated list of components.

How do I debug, lets say I want to track the flow of your patch, how do I do it? Should I sprinkle some printfs or LYXERRORs or logsyserr() so that I know whats going on? I tried doing ' lyx -dbg ' and saw its working, Is there a method to trigger a debug message?

Or use QtCreator to debug in a proper way.


>are you accessing the repo in read-only / anonymous mode, or did you clone with your own R/W >access to the gsoc repo ? (Vincent should have granted you R/W access, right?)

I tried |git clone g...@git.lyx.org:lyx <mailto:g...@git.lyx.org:lyx>| but it was asking for password, when I asked on the mailing list they told me to instead clone git://git.lyx.org/lyx.git <http://git.lyx.org/lyx.git> . Which I think is anonymous, Vincent then asked for my ssh key, which I provided! he said he added the key.

So how do I push,
I have a branch called patch on which I worked on the patch! btw I think I created a remote called "gsoc"


sushant@sushant-desktop:~/gsoc/lyx$ git branch
  compile
  interactive
  master
* patch

if i do
sushant@sushant-desktop:~/gsoc/lyx$git push gsoc interactive
will it work?

but my work is in 'patch' branch.

Vincent, can you help here ?

First set the remote to push to back to the non-anonymous url:

$ git remote set-url --push gsoc g...@git.lyx.org:gsoc.git

Then push your local branch pathc to the remote branch interactive using:

$ git push gsoc patch:interactive

But if you treat the interactive branch as the integration branch (that means you only push to this branch if it has been reviewed and if it is considered finished), then you might want to push to a separate branch first (Tommaso called this the playground branch). Then, have your mentors look at it, rework it maybe a few times, and then push it to interactive. In that case you can:

$ git push gsoc patch:interactive/<description of the work>


--------------------------------------------------------------------------------------------------------------------------------------------
How will the pushing work? will it copy all of my branches remotely?

Depending on the exact version of git, the default is to either:

push all branches that you've have both in your local as in the remote repository,

or,

push the branch you're on if it has a matching branch in the remote.

Vincent

Reply via email to