Project

General

Profile

Actions

Defect #195

closed

diff on a bazaar repository don't work

Added by Bastien Jaillot over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

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..

Actions #1

Updated by Thomas Lecavelier over 16 years ago

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?

Actions #2

Updated by Jean-Philippe Lang over 16 years ago

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

Actions #3

Updated by Thomas Lecavelier over 16 years ago

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.

Actions #4

Updated by Jean-Philippe Lang over 16 years ago

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.

Actions #5

Updated by Bastien Jaillot over 16 years ago

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/".

Actions #6

Updated by Bastien Jaillot over 16 years ago

It was a bug of the 1.0 bazaar release, now corrected with bazaar 1.1.

now diff command works with --no-trees option.

Actions #7

Updated by Thomas Lecavelier over 16 years ago

  • Status changed from New to Resolved

It looks like it's resolved, don't it?

Actions #8

Updated by Thomas Lecavelier over 16 years ago

  • Status changed from Resolved to Closed

No complaint about Bazaar since the bazaar upgrade: was a third-party bug. Closing.

Actions

Also available in: Atom PDF