OLD | NEW |
1 # coding=utf8 | 1 # coding=utf8 |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 """Manages a project checkout. | 5 """Manages a project checkout. |
6 | 6 |
7 Includes support for svn, git-svn and git. | 7 Includes support for svn, git-svn and git. |
8 """ | 8 """ |
9 | 9 |
10 from __future__ import with_statement | |
11 import ConfigParser | 10 import ConfigParser |
12 import fnmatch | 11 import fnmatch |
13 import logging | 12 import logging |
14 import os | 13 import os |
15 import re | 14 import re |
16 import shutil | 15 import shutil |
17 import subprocess | 16 import subprocess |
18 import sys | 17 import sys |
19 import tempfile | 18 import tempfile |
20 | 19 |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 user, message)) | 747 user, message)) |
749 return 'FAKE' | 748 return 'FAKE' |
750 | 749 |
751 @property | 750 @property |
752 def project_name(self): | 751 def project_name(self): |
753 return self.checkout.project_name | 752 return self.checkout.project_name |
754 | 753 |
755 @property | 754 @property |
756 def project_path(self): | 755 def project_path(self): |
757 return self.checkout.project_path | 756 return self.checkout.project_path |
OLD | NEW |