This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

difference between "ignored" and "+" ?

 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using TFVC (Team Foundation).  From my local IDE I sync with remote TFVC branch, looking at the files, I see three types:

1. files with some numbers like [87098]:  seems these files are sync with remote repository, when I click team history, i can see the version history
2. files with "ignored" symbol:  can't click history from team,
3. files with a "+" symbol: seems these files never checked in to repository ?

Questions:

a) are those files with "ignored" sign already checked in repository or what ?

b) I am sure files with "+" are not checked in repository yet, but why it doesn't show "ignored" then ?

c) what's the difference between "ignored" and "+" ?

Thanks!
 
Saloon Keeper
Posts: 13379
295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

a) are those files with "ignored" sign already checked in repository or what ?


No. They're ignored. They will never be checked in. This is usually the case for auto-generated files and for environment specific configuration.

b) I am sure files with "+" are not checked in repository yet, but why it doesn't show "ignored" then ?


Because they're not ignored. TFVC is telling you that you can add them to your repository, meaning it's not ignoring them.

c) what's the difference between "ignored" and "+" ?


"Ignored" means that the file will never be checked in. "+" means that the file is new and needs to be checked in for the first time.
 
Saloon Keeper
Posts: 24517
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It has been many long years since I have worked with Microsoft development tools, but I'll venture some guesses based on how other version control systems work. Though actually, I do recommend reading the manual!

The numeric indicator would be the ID of a check-in and should uniquely identify what changes were made and by whom.

The "+" indicator would indicate an addition. Something that probably hasn't been added to the repository yet, but is pending or suggested for addition. On the repo, I'd read it as something someone added that hasn't yet been checked out to you.

The "ignored" indicator would mark a file or directory that has been marked as not under version control. Most systems have an "ignore" file (for example, ".gitignore") where you can list files or file patterns which do no participate in version control. A good example would be ".obj" files created by your local compiler. There's no need to check them in, because if your project is set up properly, anyone can re-create them from the checked-in source by compiling that source.

This is just a guess, so don't take it as being absolutely correct. As I said, the way to be sure is to read the manual.
 
Linwood Hayes
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Stephen and Tim.
 
reply
    Bookmark Topic Watch Topic
  • New Topic