On Monday, December 19, 2016 at 5:10:15 PM UTC-5, John wrote: > > We are using mercurial in our environment and for some reason we are > seeing a number of __init__.py (blank files for module inclusion in python) > are being added to our diff file. Here is the process we used to reproduce > the issue: > > 1. Clone a branch in the repo. > 2. create a new file with some text in it (i.e. mytestfile.py). > 3. Add a new file in the repo with "hg add mytestfile.py" > 4. hg commit -m "This is a test" ./mytestfile.py > 5. rbt post > > > Here is what the diff of the new file looks like with a simple "hg diff" > before running commit: > > diff --git a/python/tools/mytestfile.py b/python/tools/mytestfile.py > new file mode 100644 > --- /dev/null > +++ b/python/mytestfile.py > @@ -0,0 +1,1 @@ > +print "This is a test" > > Attached please find the diff that was downloaded from Review Board. > > What you'll find is that the diff for the new file that was added does > make it up there but for some reason ~50+ __init__.py files are also > removed and then added to the diff. It causes the review request to look > very messy. The diff file I added was downloaded directly from review > board and then I snipped the end of it so the file wouldn't be too large. > >
-- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
