Quantcast

main url appears in "Topic Text" window

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

main url appears in "Topic Text" window

David Carson
I've got a strange problem with my new installation.  (This is my first attempt at an SVN installation.)

The Topic Text window shows no text from the diff in the side-by-side windows.  Instead, the only thing there is a link to the main page, something like this:

Line 173 | Parallel                               Line 173 | Parallel
173                                                    173
174                                                    174  Codestriker 1.9.6 - Topic Details
175   Codestriker 1.9.6 - Topic Details  175
176                                                    176
177                                                    177
178                                                    178  Codestriker 1.9.6 - Topic Details



And, yes, the links do take you back to the main Topic List page. 

I've checked:
- uploaded text diff in the db, looks good
- viewvc URL in conf, looks good
- alias in Apache conf, looks good

If I view page source, the .css URLs look OK.  I don't know what to look for. 

Any ideas?
David

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: main url appears in "Topic Text" window

David Carson
By the way, I also forgot to ask about the syntax for doing diffs in SVN.  The mouse-over text help on the Create Topic screen says "svn -uN" I believe, but these options are not available.  The -u is the default for SVN, the -N I'm not sure about, but it could be passed using the 'pass-through' option I suppose.

But I also noticed that my diff does not contain full paths to the files, just paths relative to the CWD where I did the diff.  I believe CVS puts the full RCS path in its diff and I'm wondering how Codestriker can figure out how to show the diff via ViewVc when it does not have a complete path to use.  Perhaps there is an svn option I'm missing.


On Sat, Jul 11, 2009 at 12:00 AM, David Carson <[hidden email]> wrote:
I've got a strange problem with my new installation.  (This is my first attempt at an SVN installation.)

The Topic Text window shows no text from the diff in the side-by-side windows.  Instead, the only thing there is a link to the main page, something like this:

Line 173 | Parallel                               Line 173 | Parallel
173                                                    173
174                                                    174  Codestriker 1.9.6 - Topic Details
175   Codestriker 1.9.6 - Topic Details  175
176                                                    176
177                                                    177
178                                                    178  Codestriker 1.9.6 - Topic Details



And, yes, the links do take you back to the main Topic List page. 

I've checked:
- uploaded text diff in the db, looks good
- viewvc URL in conf, looks good
- alias in Apache conf, looks good

If I view page source, the .css URLs look OK.  I don't know what to look for. 

Any ideas?
David


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: main url appears in "Topic Text" window

David Sitsky
Administrator
On Sun, Jul 12, 2009 at 11:40 PM, David Carson<[hidden email]> wrote:
> By the way, I also forgot to ask about the syntax for doing diffs in SVN.
> The mouse-over text help on the Create Topic screen says "svn -uN" I
> believe, but these options are not available.  The -u is the default for
> SVN, the -N I'm not sure about, but it could be passed using the
> 'pass-through' option I suppose.

I think it might have been available at some point, but basically '-u'
is all you need now - it seems to include added/removed files by
default.  I'll update the text.

> But I also noticed that my diff does not contain full paths to the files,
> just paths relative to the CWD where I did the diff.  I believe CVS puts the
> full RCS path in its diff and I'm wondering how Codestriker can figure out
> how to show the diff via ViewVc when it does not have a complete path to
> use.  Perhaps there is an svn option I'm missing.

Sadly.. the subversion people decided to create diffs in this silly
format.  I mentioned this to them years ago, but they basically
ignored it.  At least CVS did the right thing here.

What this means, is you need to run your diff commands from the
"top-level" of your project, and make sure the repository you select
matches it, so that together, the paths become the full path of the
file in the subversion repository.

Its a bit of a pain, but it works.  Its partially for this reason a
lot of people use Subversion in post-commit review mode, as you don't
have to worry about this.

Cheers,
David

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: main url appears in "Topic Text" window

David Sitsky
Administrator
In reply to this post by David Carson
Hi David,

On Sat, Jul 11, 2009 at 2:00 PM, David Carson<[hidden email]> wrote:
> I've got a strange problem with my new installation.  (This is my first
> attempt at an SVN installation.)
>
> The Topic Text window shows no text from the diff in the side-by-side
> windows.  Instead, the only thing there is a link to the main page,
> something like this:


This sounds strange.  I take it there is nothing in your apache error
log file?  Failing that, feel free to send me a diff file which causes
this issue.

Cheers,
David

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: main url appears in "Topic Text" window

David Sitsky
Administrator
In reply to this post by David Sitsky
>> I don't see how this is going to work.  The path is
>>  <repo>/top/branches/branchA/code/...
>> but when I checkout, I checkout branchA.  So my path, which may or may not
>> start with branchA (depending how I checked out), will still not have the
>> 'top/branches' part in it.  And, of course, top/branches could be top/tags
>> or it could be the trunk which is different again.

In the above example, you would set the repository path to be:

<repo-path>/top/branches/branchA

then when you do the diff, it will be the missing part.  So basically,
for each branch you need to review, and trunk, you need a separate
repository object.

I have to do this at work, and it works fine in practice.  We use this
and a mixture of post-commit scripts as well.

Cheers,
David

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Codestriker-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/codestriker-user
Loading...