- 08 Jun, 2009 5 commits
-
-
maruel@chromium.org authored
Factor out some code in FilterFlag() to make the code much more readable. TEST=none BUG=none Review URL: http://codereview.chromium.org/119315 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17884 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
ReadFile limits to reading files inside the repository. CheckChangeHasNoCR reads the text files looking for \r and fails if found. TEST=none BUG=none Review URL: http://codereview.chromium.org/118370 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17857 0039d316-1c4b-4281-b951-d872f2087c98
-
skylined@chromium.org authored
Check if the given root path argument points to a valid directory. Display an error message and quit if it is not. Review URL: http://codereview.chromium.org/118379 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17856 0039d316-1c4b-4281-b951-d872f2087c98
-
skylined@chromium.org authored
PathDifference cuts a supplied "root path" from a second path and returns what remains. It is assumed that this can be used as a relative path from the "root path" to the second path. If the root path ends with a path separator (\ or /), the function used to cut an additional character from the path and the returned value would be incorrect. This fix makes sure the behavior is consistent and correct no matter if the root path ends with a separator or not. (This fixes the "epot_tools" tools bug.) Review URL: http://codereview.chromium.org/118376 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17855 0039d316-1c4b-4281-b951-d872f2087c98
-
skylined@chromium.org authored
This is needed if you do not have VS in your PATH on purpose and makes life easy if you do not have it there by accident. Review URL: http://codereview.chromium.org/112098 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17854 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Jun, 2009 7 commits
-
-
maruel@chromium.org authored
git-cl is broken git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17844 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TEST=none BUG=none Review URL: http://codereview.chromium.org/119286 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17841 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TEST=none BUG=none TBR=joi Review URL: http://codereview.chromium.org/119285 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17839 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
It's less annoying to type Y than to have to rerun the scripts with --no_presubmit for certain checks. TEST=none BUG=none TBR=joi Review URL: http://codereview.chromium.org/119284 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17838 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Add input_api.traceback, useful for dumping information. BUG=none TEST=none Review URL: http://codereview.chromium.org/119252 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17837 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Now enforces ChangeInfo.issue (and .patchset) to be a int. Renamed LoadChangelistInfo() to ChangeInfo.Load(). Removed ChangeInfo.__init__() default parameters. TEST=none BUG=none Review URL: http://codereview.chromium.org/118355 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17836 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Remove a superfluous check in CheckLongLines(). Add unittest to InputApi. Review URL: http://codereview.chromium.org/114082 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17805 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Jun, 2009 3 commits
-
-
maruel@chromium.org authored
Review: http://codereview.chromium.org/119244 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17739 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
They automatically git clone the original repository and execute the original script. So if they are first in the path, they will be executed. If a user has another git-cl/try in the path prior, these stubs won't be used at all and won't mess with the user's setup. Also fix a bug with git handling in trychange.py Review URL: http://codereview.chromium.org/119244 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17737 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/118265 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17727 0039d316-1c4b-4281-b951-d872f2087c98
-
- 04 Jun, 2009 2 commits
-
-
laforge@chromium.org authored
- Create a new parameter for "gcl change 12354 <filename>" to read comments from a text file. This allows us to programmatically inject comments into a gcl upload - Added helper methods in change to order of which other_files have changed (brings changed files to the top of the list). This makes it easier to find which files have change, and simply cut and paste the top of the list (after many merges, the list of unmodified files grows to be quite extensive... very useful) git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17684 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
The broken PRESUBMIT.py was fixed so reintegrating revision 17554 (which was good in the first place). BUG=none TEST=none TBR=joi Review URL: http://codereview.chromium.org/119130 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17578 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Jun, 2009 5 commits
-
-
maruel@chromium.org authored
TEST=None BUG=None TBR=joi Review URL: http://codereview.chromium.org/119122 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17561 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
It was affected by the current directory! Review URL: http://codereview.chromium.org/119101 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17554 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/118159 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17488 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/118160 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17487 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/114076 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17486 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Jun, 2009 3 commits
-
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/115996 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17330 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/115994 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17328 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/115964 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17314 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 May, 2009 6 commits
-
-
maruel@chromium.org authored
BUG=None TEST=None Review URL: http://codereview.chromium.org/118019 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17215 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/118014 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17213 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/115926 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17206 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/115923 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17202 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Cache SvnAffectedFile.IsTextFile() return value. Improve the unit test by not/less relying on the local file system. Review URL: http://codereview.chromium.org/113964 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17180 0039d316-1c4b-4281-b951-d872f2087c98
-
skylined@chromium.org authored
Add code to handle errors in .gclient configuration files and output human readble information rather than a raw exception stack. Review URL: http://codereview.chromium.org/113968 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17179 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 May, 2009 2 commits
-
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/115881 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17114 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Make DepotToLocalPath() and LocalToDepotPath() not static. It is necessary for a subsequent change since I need to factor out it's SCM assumption. Review URL: http://codereview.chromium.org/113933 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17091 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 May, 2009 3 commits
-
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/113899 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17039 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/113883 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16983 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Review URL: http://codereview.chromium.org/113859 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16959 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 May, 2009 1 commit
-
-
maruel@chromium.org authored
Ironically, it was broken. Review URL: http://codereview.chromium.org/115679 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16856 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 May, 2009 3 commits
-
-
maruel@chromium.org authored
BUG=None R=joi Review URL: http://codereview.chromium.org/115719 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16819 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
TEST=New unit tests. BUG=None Review URL: http://codereview.chromium.org/113783 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16785 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
BUG=gcl commit doesn't show any "svn: 'bleh' is not a working copy" error R=jam Review URL: http://codereview.chromium.org/113782 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@16781 0039d316-1c4b-4281-b951-d872f2087c98
-