Defect #195
closed
diff on a bazaar repository don't work
Added by Bastien Jaillot over 16 years ago.
Updated over 16 years ago.
Description
Despite the bzr diff syntaxe looks great in /lib/redmine/scm/adapters/bazaar.rb, a diff between two revisions of a bazaar
repository given't anything..
I tried to help Bastien with that issue, but without success.
Checked its production log (in prod mode): no warnings at all.
Running the diff command by hand in its environnement produce
a correct diff syntax.
We think it's a view problem, but why concerning only bazaar's
diff?
Could you please post the exact bzr command that is ran (you'll
find it in the log when running Redmine in development mode)
and the output that is generated (by running the bzr command
manually) ? Thanks
JP, I sent you privately a selected copy of #redmine log where
Bastien gave me these informations, since I don't know if Bastien
consider these informations as confidential or not.
Thanks Thomas for the information. Bzr diff should work.
Bastien, I can't do much without the exact command ran by redmine
and the bzr output. Could you try to run Redmine in debug mode
and post the bzr command you will in the log ?
You can run Redmine in debug by uncommenting this line in
config/environment.rb
config.log_level = :debug
Restart and try to show a diff. You should see something like
that in the log: "shelling out:" followed by the command.
Please post the bzr output that you get when running this command
manually.
In fact the diff is done in the repository wich don't work. A diff have to be done in a working tree.
root@mamchine:~/monprojet# bzr diff -r65..66
bzr: ERROR: No WorkingTree exists for "file:///mondossier/monprojet/.bzr/checkout/".
It was a bug of the 1.0 bazaar release, now corrected with bazaar 1.1.
now diff command works with --no-trees option.
- Status changed from New to Resolved
It looks like it's resolved, don't it?
- Status changed from Resolved to Closed
No complaint about Bazaar since the bazaar upgrade: was a third-party bug. Closing.
Also available in: Atom
PDF