Udostępnij za pośrednictwem


History dialog vs tf history /i

Did you notice that when you show folder history in the history dialog you end up with more entries than the one(s) you see when you use tf history with the no-prompt flag /i specified? Well, the default in the history dialog is to show folder history recursively, which means that all the versions of the folder and the whole tree of items beneath it will show up. On the other hand, you expect to see less rows when you use tf hist /i which non-recursive by default. To view recursive history on a folder use the /r flag. You might wonder what will the recursive flag do for a file, it enables you to search the tree recursively for file names that matches the pattern you supplied (yes, you can use wildcard characters).