- Added Path::operator== for expanded path comparisons.  Why was
  that not already implemented?
- Added checks that the push/pull destination is not equal to
  rc.data.location.  That would be bad.
- Added comments, tweaked the wording on some messages.  Stubbed out
  confirmation of pull overwrite, while I think about it.
This commit is contained in:
Paul Beckingham 2010-10-15 08:46:04 -04:00
parent 9e5f1787d0
commit c5427c91fc
3 changed files with 37 additions and 14 deletions

View file

@ -66,6 +66,12 @@ Path& Path::operator= (const Path& other)
return *this;
}
////////////////////////////////////////////////////////////////////////////////
bool Path::operator== (const Path& other)
{
return data == other.data;
}
////////////////////////////////////////////////////////////////////////////////
Path::operator std::string () const
{