How to delete a branch in hg?
I am recently learning git, and found people can delete short branches, but in Hg, after merging the branch to default, how could I delete it?
I had a significant number of files in my project just on the root level so I decided to clean them up by placing them into folders for Manager classes, API classes etc. When I go into Tortoise HG's w
I have a problem when trying to convert. There is master branch and also another branch named testing When I use standard method hg convert gitbranch hgconvertedbranch I get two heads and need m
I have SmartGit GUI tool for my beanstalk repos. I want to make a branch of one of my repos. For this i have created a branch using smartGit branch manager, but how i create this to beanstalk. and the
$ hg pull Password: pulling from ssh://email@example.com:22//home/usr/xxx/repo searching for changes adding changesets adding manifests adding file changes It then keep showing the above for 10+ min. Is th
Just a simple question that might seems dumb but I'm not a git expert! Let's say I delete a branch in local and push my delete. The branch will no longer be on my git repository. But what'll happen if
How can I combine the Mercurial commands hg pull and hg update into one?
I tried using hgtk on my machine after installing Tortoise Hg, but the command isn't recognised. I then browsed the to Tortoise folder, but couldn't find any executable hgtk. How can I access this com
Maybe I am missing something important here but I want to switch to another branch without first committing what I currently have. I realize I can use hg update -C and simply drop the current changes
Given a local / remote branch name, how could I get the hash of the commit that this branch points to?
I want my default hg status to recirse into subrepos. This is easy enough to do in .hgrc: [alias] status = status -S But I want to have another alias, say hg status-no-subrepo, that does not. [alias]
In gitweb interface, I see it has a 'heads' section. Is that equals to the 'git branch' locally? And how can I see the remote branch head? Thank you.
I'm a newbie to git, and got a little ahead of myself in creating/deleting branches and wanted to figure out the right process. Basically, I started on a new branch (branch_a) and then made a few chan
I started a new branch and made a lot of changes, to controllers, database, models, etc as I was testing a new feature to see if I wanted to keep it or trash it. I now want to trash that branch witho
How to delete the remote branch itself in sourceforge with all files in it, using egit ?
I can get the head of the current branch via hg head . I can then get the data I need by copying and pasting the changeset ID from the output of that command into this one: 'hg' 'log' --'limit' '1' -
Is there a cygwin equivalent of posh-hg ? I checked this post and there seem to be a lot of option available for git but sadly I couldn't find any for Mercurial. What I am looking for is the branch an
I've done something incredibily stupid. I figured I should ask before I tried to fix it and accidentally make things worse. I tried to list all remote branches in my git repo: git branch remote Obv
The problem here is that hg' workflow apparently leads in a circle: hg pull, get another head hg merge, get warned of outstanding uncommitted changes hg commit -m pre merge commit, get message sa
Usually, when I send Pull Requests on github, I would create a branch, make my changes, then ask them to merge that branch into their repo. Once that is done, on Github, I delete the branch (but githu
I'd like to delete a remote branch from my central git repository. The usual advice is to do 'git push origin :branchname' or 'git push origin :heads/branchname'. But when I try that, I get this error
I mistyped a git command which resulted in the creation of a local branch called, '--track'. I've tried the following: git branch -m --track delme (this renames the current branch to delme, not the br
I have source files managed in SVN using TortoiseSVN. I had added files and committed them to a revision, and subsequently decided to branch. I branched with the files I needed, and performed a delete
I am using LibGit2Sharp and would like to get the latest commit of a specific branch, but, due to lacking documentation or my own fault I cannot find out how to achieve this. Therefore, what's the ea
If I have a feature branch F and master branch M, then git branch --merged while on master will show me if F has been entirely merged into M, but how can I tell if it has EVER been merged? I've tried
I there a way to see what Mercurial commands are issued by Tortoise HG? For instance, if I use the Shelve command in Tortoise, I'd like to see how (and if) it calls 'hg shelve' under the hood.
I am trying to delete some files in a branch, but I don't want those files deleted from master or from other branches. However, when I delete a file on branchA, the same files are deleted on branchB a
I have 2 questions abour deleting branch, tagging, and git's gc. Lets say I have a project where I am maintaining 2 different version of the software. Lets say I have created a number of tags in one o
How can I see the diff between a local branch and a remote branch?
the book says that reintegrated branch should not be used as it can't accept commits, and in fact recommend to delete it. How can I test whether a branch had already been reintegrated, if I don't reme
How can I see the differences in a designated file between a local branch and a remote branch? I know this command: git diff <local branch> <remote-tracking branch> But it gives the diffe
Isn't this a normal workflow? [default] $ hg branch foo [foo] $ [... some commits ...] [foo] $ hg update default [default] $ hg merge foo [default] $ hg commit -m merged foo [default] $ hg push abo
I have the following git repo structure: a-b-c-d-.. [master] \ x The commit x was accidentially done (can't figure out how) and has no named branch. How can I delete this commit? For detail, git log
In an attempt to create a tracking branch I have managed to create a local branch named '-t'. I cannot delete the branch because the branch name is also a parameter. This is on a windows machine. $ gi
When a project is started with mkdir proj cd proj hg init [create some files] hg add file.txt hg commit hg push ssh://firstname.lastname@example.org/proj now when hg path is issued, nothing will show. How
I have a git tree like A---B---C topic / D---E---F---G master <-- I would like to remove topic and all objects on it. I note the SHA ID of topic, then type: git branch -D topic git gc # <--
Can safely delete a parent branch? I have a branch structure as follows: Branch A Branch B Branch C Branch D Branch A is redundant & un-needed. Can I delete it without affecting Branch B &a
Not just the command, but the actual behavior... hg purge will delete all untracked files. I thought it was git clean, but nope... $ git clean fatal: clean.requireForce defaults to true and neither -n
If there are two branches, and I have been doing work on the default branch, I think one way to push to the foo branch of the other clone is cd ~/development/clone2 hg up default hg pull ~/developmet/
How can I clone a Mercurial repository without the .hg folder to save time (the project is big)? I only need the tip files.
I am using SVN. I have a branch created from another branch which in turn created from trunk. Now what is the correct procedure to rentegrate my branch to trunk? -------------------------------------
I used the following code to delete the text file. But it won't delete the file, which still exists. File delfile=new File(SDS_DID.txt); delfile.delete(); How to delete a file?
I messed my local branch of a project, and i want to revert my local copy to the remote state. How i acomplish that simply goal?
I managed to create a branch in git called '-f' e.g. $ git branch * (no branch) -f How do I delete the dang thing? git branch -d -f won't work, nor will git branch -d '-f' or even git branch -d -f -f
I switch to a branch (branch1) in git and I did multiple commits there in that branch. And now I switch to another branch (branch2), how can I merge 1 (the latest in branch1) to this new branch (branc
I have a fossil repository. How can I migrate the commits to a hg repository. I don't care about issues, wiki, branches.
Assuming I have a if-else branch in C++ how can I (in-code) measure how often the branch is mispredicted? I would like to add some calls or macros around the branch (similar to how you do bottom-up pr
I did the hg convert on remote perforce repository and created a Mercurial repository on my Linux box. I can see there is nothing in my working directory, all files resided under the .hg/ folder. How
With a mercurial repository, after initialising it, do I need to commit to the master branch first, before creating another named branch, or can I do: hg init hg branch develop and then commit onto t
I have 2 Ubuntu laptops in the same WiFi network. I would like to 'hg clone' from 1 laptop to another. In my source laptop, I have a 'hg' repository in ~/work/myserver and my source laptop ip address
I'm new with git and I made a typo mistake in the remote branch name during my push. git push remote/branch_with_typo_mistake. Then a new branch was created on the remote server. How can i completely