main #36
Reference in New Issue
Block a user
No description provided.
Delete Branch "adamm/git-importer:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes from devel import.
I haven’t dived sufficiently deep to be able to make a judgement on this PR, but I have some comments on it.
@@ -161,2 +161,4 @@
)
def branch_commit(self, branch="HEAD"):
try:
Using
try … except
as a substitute forif … then … else
is always a code smell. Couldn’t you find some civilized way how to decide when to run that command without just trying it blindly?@@ -70,3 +137,1 @@
left_to_commit = self.check_repo_state(flats, branch_state)
if not left_to_commit:
if tree == None: # eg. python-M2Crypto errors
??? As a maintainer of M2Crypto (both upstream and in openSUSE), I am curious about this comment? What’s the problem with it?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.