What version are you running?
1.0
What's the URL of the page containing the problem?
None - this is an issue with post-review.
What steps will reproduce the problem?
1. Find an existing symlink (A) somewhere on your system.
2. Inside a Perforce client view, create a symlink (B) to A.
3. Create a changelist.
4. p4 add -c XXX B
5. Run post-review XXX.
What is the expected output? What do you see instead?
We see this:
Traceback (most recent call last):
File "/apollo/env/SDETools/share/rbtools/scripts/post-review", line 2348,
in <module>
main(sys.argv[1:])
File "/apollo/env/SDETools/share/rbtools/scripts/post-review", line 2294,
in main
diff, parent_diff = tool.diff(args)
File "/apollo/env/SDETools/share/rbtools/scripts/post-review", line 1473,
in diff
m = re.search(r'(\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d)', dl[1])
IndexError: list index out of range
Symlinks to files and directories seem to work, so I'd expect symlinks to
symlinks to work the same.
What operating system are you using? What browser?
Red Hat Enterprise Linux 5.3 on the server. Post-review is running under
Red Hat Enterprise Linux 3.
Please provide any additional information below.