On Jan 30, 2011, at 22:35, amol gole wrote: > Ryan Schmidt wrote: > >> On Jan 29, 2011, at 20:01, amol gole wrote: >> >> > Thanks for the link. I knew the -rREV method was supported I just feel >> > that doing that for every externally referenced file is a pain and one >> > more thing to keep track of. Oh well. >> >> Don't use "-rREV URL" (an operative revision) in an externals definition. Do >> use "URL@REV" (a peg revision). I recommend you use a (peg) revision in >> every external you define. I don't consider this more work; I consider it an >> absolute necessity to unambiguously indicate what resource you're intending >> to obtain. >> >> >> > Is there a way to search for all instances of an externally ref file in >> > the entire repo? I think a "where used" type function is what im looking >> > for. >> >> I don't think so. > > Whats the benefit to using the peg revision format?
If the directory in question is ever moved, renamed or deleted in the future, your external won't break.