844 """ |
844 """ |
845 Private slot used to push the next patch onto the stack. |
845 Private slot used to push the next patch onto the stack. |
846 """ |
846 """ |
847 self.__hgQueuePushPopPatches( |
847 self.__hgQueuePushPopPatches( |
848 self.project.getProjectPath(), |
848 self.project.getProjectPath(), |
849 operation=Queues.PUSH, all=False, named=False) |
849 operation=Queues.PUSH, doAll=False, named=False) |
850 |
850 |
851 def __hgQueuePushPatchForced(self): |
851 def __hgQueuePushPatchForced(self): |
852 """ |
852 """ |
853 Private slot used to push the next patch onto the stack on top |
853 Private slot used to push the next patch onto the stack on top |
854 of local changes. |
854 of local changes. |
855 """ |
855 """ |
856 self.__hgQueuePushPopPatches( |
856 self.__hgQueuePushPopPatches( |
857 self.project.getProjectPath(), |
857 self.project.getProjectPath(), |
858 operation=Queues.PUSH, all=False, named=False, force=True) |
858 operation=Queues.PUSH, doAll=False, named=False, force=True) |
859 |
859 |
860 def __hgQueuePushAllPatches(self): |
860 def __hgQueuePushAllPatches(self): |
861 """ |
861 """ |
862 Private slot used to push all patches onto the stack. |
862 Private slot used to push all patches onto the stack. |
863 """ |
863 """ |
864 self.__hgQueuePushPopPatches( |
864 self.__hgQueuePushPopPatches( |
865 self.project.getProjectPath(), |
865 self.project.getProjectPath(), |
866 operation=Queues.PUSH, all=True, named=False) |
866 operation=Queues.PUSH, doAll=True, named=False) |
867 |
867 |
868 def __hgQueuePushAllPatchesForced(self): |
868 def __hgQueuePushAllPatchesForced(self): |
869 """ |
869 """ |
870 Private slot used to push all patches onto the stack on top |
870 Private slot used to push all patches onto the stack on top |
871 of local changes. |
871 of local changes. |
872 """ |
872 """ |
873 self.__hgQueuePushPopPatches( |
873 self.__hgQueuePushPopPatches( |
874 self.project.getProjectPath(), |
874 self.project.getProjectPath(), |
875 operation=Queues.PUSH, all=True, named=False, force=True) |
875 operation=Queues.PUSH, doAll=True, named=False, force=True) |
876 |
876 |
877 def __hgQueuePushPatches(self): |
877 def __hgQueuePushPatches(self): |
878 """ |
878 """ |
879 Private slot used to push patches onto the stack until a named |
879 Private slot used to push patches onto the stack until a named |
880 one is at the top. |
880 one is at the top. |
881 """ |
881 """ |
882 self.__hgQueuePushPopPatches( |
882 self.__hgQueuePushPopPatches( |
883 self.project.getProjectPath(), |
883 self.project.getProjectPath(), |
884 operation=Queues.PUSH, all=False, named=True) |
884 operation=Queues.PUSH, doAll=False, named=True) |
885 |
885 |
886 def __hgQueuePushPatchesForced(self): |
886 def __hgQueuePushPatchesForced(self): |
887 """ |
887 """ |
888 Private slot used to push patches onto the stack until a named |
888 Private slot used to push patches onto the stack until a named |
889 one is at the top on top of local changes. |
889 one is at the top on top of local changes. |
890 """ |
890 """ |
891 self.__hgQueuePushPopPatches( |
891 self.__hgQueuePushPopPatches( |
892 self.project.getProjectPath(), |
892 self.project.getProjectPath(), |
893 operation=Queues.PUSH, all=False, named=True, force=True) |
893 operation=Queues.PUSH, doAll=False, named=True, force=True) |
894 |
894 |
895 def __hgQueuePopPatch(self): |
895 def __hgQueuePopPatch(self): |
896 """ |
896 """ |
897 Private slot used to pop the current patch off the stack. |
897 Private slot used to pop the current patch off the stack. |
898 """ |
898 """ |
899 self.__hgQueuePushPopPatches( |
899 self.__hgQueuePushPopPatches( |
900 self.project.getProjectPath(), |
900 self.project.getProjectPath(), |
901 operation=Queues.POP, all=False, named=False) |
901 operation=Queues.POP, doAll=False, named=False) |
902 |
902 |
903 def __hgQueuePopPatchForced(self): |
903 def __hgQueuePopPatchForced(self): |
904 """ |
904 """ |
905 Private slot used to pop the current patch off the stack forgetting |
905 Private slot used to pop the current patch off the stack forgetting |
906 any local changes to patched files. |
906 any local changes to patched files. |
907 """ |
907 """ |
908 self.__hgQueuePushPopPatches( |
908 self.__hgQueuePushPopPatches( |
909 self.project.getProjectPath(), |
909 self.project.getProjectPath(), |
910 operation=Queues.POP, all=False, named=False, force=True) |
910 operation=Queues.POP, doAll=False, named=False, force=True) |
911 |
911 |
912 def __hgQueuePopAllPatches(self): |
912 def __hgQueuePopAllPatches(self): |
913 """ |
913 """ |
914 Private slot used to pop all patches off the stack. |
914 Private slot used to pop all patches off the stack. |
915 """ |
915 """ |
916 self.__hgQueuePushPopPatches( |
916 self.__hgQueuePushPopPatches( |
917 self.project.getProjectPath(), |
917 self.project.getProjectPath(), |
918 operation=Queues.POP, all=True, named=False) |
918 operation=Queues.POP, doAll=True, named=False) |
919 |
919 |
920 def __hgQueuePopAllPatchesForced(self): |
920 def __hgQueuePopAllPatchesForced(self): |
921 """ |
921 """ |
922 Private slot used to pop all patches off the stack forgetting |
922 Private slot used to pop all patches off the stack forgetting |
923 any local changes to patched files. |
923 any local changes to patched files. |
924 """ |
924 """ |
925 self.__hgQueuePushPopPatches( |
925 self.__hgQueuePushPopPatches( |
926 self.project.getProjectPath(), |
926 self.project.getProjectPath(), |
927 operation=Queues.POP, all=True, named=False, force=True) |
927 operation=Queues.POP, doAll=True, named=False, force=True) |
928 |
928 |
929 def __hgQueuePopPatches(self): |
929 def __hgQueuePopPatches(self): |
930 """ |
930 """ |
931 Private slot used to pop patches off the stack until a named |
931 Private slot used to pop patches off the stack until a named |
932 one is at the top. |
932 one is at the top. |
933 """ |
933 """ |
934 self.__hgQueuePushPopPatches( |
934 self.__hgQueuePushPopPatches( |
935 self.project.getProjectPath(), |
935 self.project.getProjectPath(), |
936 operation=Queues.POP, all=False, named=True) |
936 operation=Queues.POP, doAll=False, named=True) |
937 |
937 |
938 def __hgQueuePopPatchesForced(self): |
938 def __hgQueuePopPatchesForced(self): |
939 """ |
939 """ |
940 Private slot used to pop patches off the stack until a named |
940 Private slot used to pop patches off the stack until a named |
941 one is at the top forgetting any local changes to patched files. |
941 one is at the top forgetting any local changes to patched files. |
942 """ |
942 """ |
943 self.__hgQueuePushPopPatches( |
943 self.__hgQueuePushPopPatches( |
944 self.project.getProjectPath(), |
944 self.project.getProjectPath(), |
945 operation=Queues.POP, all=False, named=True, force=True) |
945 operation=Queues.POP, doAll=False, named=True, force=True) |
946 |
946 |
947 def __hgQueueGotoPatch(self): |
947 def __hgQueueGotoPatch(self): |
948 """ |
948 """ |
949 Private slot used to push or pop patches until the a named one |
949 Private slot used to push or pop patches until the a named one |
950 is at the top of the stack. |
950 is at the top of the stack. |
951 """ |
951 """ |
952 self.__hgQueuePushPopPatches( |
952 self.__hgQueuePushPopPatches( |
953 self.project.getProjectPath(), |
953 self.project.getProjectPath(), |
954 operation=Queues.GOTO, all=False, named=True) |
954 operation=Queues.GOTO, doAll=False, named=True) |
955 |
955 |
956 def __hgQueueGotoPatchForced(self): |
956 def __hgQueueGotoPatchForced(self): |
957 """ |
957 """ |
958 Private slot used to push or pop patches until the a named one |
958 Private slot used to push or pop patches until the a named one |
959 is at the top of the stack overwriting local changes. |
959 is at the top of the stack overwriting local changes. |
960 """ |
960 """ |
961 self.__hgQueuePushPopPatches( |
961 self.__hgQueuePushPopPatches( |
962 self.project.getProjectPath(), |
962 self.project.getProjectPath(), |
963 operation=Queues.GOTO, all=False, named=True, force=True) |
963 operation=Queues.GOTO, doAll=False, named=True, force=True) |
964 |
964 |
965 def __hgQueueListPatches(self): |
965 def __hgQueueListPatches(self): |
966 """ |
966 """ |
967 Private slot used to show a list of applied and unapplied patches. |
967 Private slot used to show a list of applied and unapplied patches. |
968 """ |
968 """ |