Views Template Suggestions When There are Duplicate Filenames What does Drupal 6 / Views 2 do when there are two templates with the same filename in different directories?

I just ran into a situation where a row template was accidentally uploaded twice.  Typically, I make views subdirectory in my theme, and then a subdirectory per view inside that.  Due to a bad copy/paste, I ended up with 

site/all/themes/mytheme/views/myview/views-view-unformatted--myview.tpl.php
site/all/themes/mytheme/views/myview2/views-view-unformatted--myview.tpl.php


My dev server was picking up the first template.  My live server was picking up the second template, despite being the same set of files as the dev server.  I didn't do the actual live deployment, but as far as I know, the rollout was an exact clone of the files.

I haven't been able to unravel how this actually happened, and would appreciate some insight.

Thanks.
You could look and see in your theme registry by dpm-ing in theme_registry_alter() or by turning on devel and visiting /devel/theme/registry and seeing what entry is pointing to what file.

If you don't want to do that on production you could do it locally first and then grab the production database locally. 

I would imagine that the registry was rebuilt between the two sites and the first time it picked up one of the files and the second time the other since I don't know of a designed hierarchy for two files in the same level directories in a theme folder.

Don't upvote - this is a speculative answer.