Comment #2 on issue 3776 by griffin....@gmail.com: Problems with excluding files for diff/post with SVN
https://code.google.com/p/reviewboard/issues/detail?id=3776

Barret,

Here is a simple bash script that should illustrate what you need:

#######################################################
#!/bin/bash
set -x

svnadmin create /tmp/testrepo
mkdir foo
cd foo
mkdir trunk branches tags
echo "test" > trunk/a.txt
svn import . file:///tmp/testrepo -m "initial commit"
cd ..
svn co file:///tmp/testrepo/trunk foo_trunk_wc
cd foo_trunk_wc
echo "stuff" >> a.txt
rbt diff --server 127.0.0.1:8080 -X a.txt
cd ..
svn co file:///tmp/testrepo foo_root_wc
cd foo_root_wc
echo "stuff" >> trunk/a.txt
rbt diff --server 127.0.0.1:8080 -X trunk/a.txt
cd trunk
rbt diff --server 127.0.0.1:8080 -X a.txt
######################################################


This will create a repo with trunk, branches, and tags directories in the root. Then it will checkout trunk and perform an `rbt diff` with exclusion. For completeness it also checks out the root and performs the diff again, and then a third time in the trunk subdirectory from the root checkout. With respect to the first issue, the initial`rbt diff` execution is where the exclusion fails while the other instances work correctly.

Incidentally, when I test this against rev 5 of review request 7000 everything works as expected. I'll be adding feedback there soon.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to