Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm_mock.py

Issue 2590693002: Only add unstaged baseline changes to the git index when rebaselining. (Closed)
Patch Set: rebaseline-cl: Abort if there are unstaged baseline changes. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (C) 2011 Google Inc. All rights reserved. 1 # Copyright (C) 2011 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 for path in paths: 123 for path in paths:
124 if self._filesystem.exists(path): 124 if self._filesystem.exists(path):
125 self._filesystem.remove(path) 125 self._filesystem.remove(path)
126 126
127 def move(self, origin, destination): 127 def move(self, origin, destination):
128 if self._filesystem: 128 if self._filesystem:
129 self._filesystem.move(self.absolute_path(origin), self.absolute_path (destination)) 129 self._filesystem.move(self.absolute_path(origin), self.absolute_path (destination))
130 130
131 def changed_files(self): 131 def changed_files(self):
132 return [] 132 return []
133
134 def unstaged_changes(self):
135 return {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698