Mercurial > hg > easyhg
comparison src/filestates.cpp @ 421:653e9694a694 ignore
Use regexes for anchored filenames (i.e. "this file only" and directory); report outcome of ignore to user
author | Chris Cannam |
---|---|
date | Fri, 17 Jun 2011 11:07:30 +0100 |
parents | b9c153e00e84 |
children | 0a16db274f2c |
comparison
equal
deleted
inserted
replaced
420:50920723dd16 | 421:653e9694a694 |
---|---|
135 << "thing as unknown state..." | 135 << "thing as unknown state..." |
136 << endl; | 136 << endl; |
137 return Unknown; | 137 return Unknown; |
138 } | 138 } |
139 | 139 |
140 bool FileStates::isKnown(QString file) const | |
141 { | |
142 return (m_stateMap.contains(file)); | |
143 } | |
144 | |
140 FileStates::Activities FileStates::activitiesSupportedBy(State s) | 145 FileStates::Activities FileStates::activitiesSupportedBy(State s) |
141 { | 146 { |
142 Activities a; | 147 Activities a; |
143 | 148 |
144 switch (s) { | 149 switch (s) { |